diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-07-07 08:15:19 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-07-07 08:15:19 +0000 |
commit | 7b59eeb53d28ebccd6fc99bcd16962a1ee301e5c (patch) | |
tree | 9043703a72b22281ea8d68168fbdff628eb8a334 /lib/libusbhid/descr.c | |
parent | 9520faa8177063b9de5888cad6ec4a55a03f0a1c (diff) | |
download | FreeBSD-src-7b59eeb53d28ebccd6fc99bcd16962a1ee301e5c.zip FreeBSD-src-7b59eeb53d28ebccd6fc99bcd16962a1ee301e5c.tar.gz |
Remove DIAGASSERT
Diffstat (limited to 'lib/libusbhid/descr.c')
-rw-r--r-- | lib/libusbhid/descr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libusbhid/descr.c b/lib/libusbhid/descr.c index 17b607e..8904a87 100644 --- a/lib/libusbhid/descr.c +++ b/lib/libusbhid/descr.c @@ -51,8 +51,6 @@ hid_get_report_desc(fd) struct usb_ctl_report_desc rep; report_desc_t r; - _DIAGASSERT(fd != -1); - rep.size = 0; if (ioctl(fd, USB_GET_REPORT_DESC, &rep) < 0) return (0); |