diff options
Diffstat (limited to 'lib/libusb/descr.c')
-rw-r--r-- | lib/libusb/descr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libusb/descr.c b/lib/libusb/descr.c index 17b607e..8904a87 100644 --- a/lib/libusb/descr.c +++ b/lib/libusb/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); |