summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_subr.c
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2016-01-14 18:56:56 +0000
committermmcc <mmcc@cvs.openbsd.org>2016-01-14 18:56:56 +0000
commitecdd21652c9aa0c53157d7a06d7ac3d3acfad039 (patch)
tree33ec4986c8da0657b124a0a906eeaa058fdd2a07 /sys/dev/usb/usb_subr.c
parentf6fcfad074cd1e3adac15d8ed616a5c2c529478c (diff)
Check whether a string from imsg is empty by dereferencing the char*
rather than using strlen. That way we don't have to walk through the entire string. ok sunnil@
Diffstat (limited to 'sys/dev/usb/usb_subr.c')
0 files changed, 0 insertions, 0 deletions