summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pmcannotate/pmcannotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pmcannotate/pmcannotate.c')
-rw-r--r--usr.sbin/pmcannotate/pmcannotate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/pmcannotate/pmcannotate.c b/usr.sbin/pmcannotate/pmcannotate.c
index 0a9d0d7..374290f 100644
--- a/usr.sbin/pmcannotate/pmcannotate.c
+++ b/usr.sbin/pmcannotate/pmcannotate.c
@@ -118,8 +118,6 @@ isasminline(const char *str)
void *ptr;
int nbytes;
- if (isxdigit(str[1]) == 0)
- return (0);
if (sscanf(str, " %p%n", &ptr, &nbytes) != 1)
return (0);
if (str[nbytes] != ':' || isspace(str[nbytes + 1]) == 0)
OpenPOWER on IntegriCloud