patch-2.3.40 linux/drivers/usb/usb-debug.c
Next file: linux/drivers/usb/usb-serial.c
Previous file: linux/drivers/usb/usb-core.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Mon Jan 17 16:24:48 2000
- Orig file:
v2.3.39/linux/drivers/usb/usb-debug.c
- Orig date:
Tue Jan 11 22:31:42 2000
diff -u --recursive --new-file v2.3.39/linux/drivers/usb/usb-debug.c linux/drivers/usb/usb-debug.c
@@ -132,24 +132,6 @@
printk(" iInterface = %02x\n", desc->iInterface);
}
-void usb_show_hid_descriptor(struct usb_hid_descriptor * desc)
-{
- int i;
-
- printk(" HID:\n");
- printk(" HID version %x.%02x\n", desc->bcdHID >> 8, desc->bcdHID & 0xff);
- printk(" bLength = %4d\n", desc->bLength);
- printk(" bDescriptorType = %02x\n", desc->bDescriptorType);
- printk(" bCountryCode = %02x\n", desc->bCountryCode);
- printk(" bNumDescriptors = %02x\n", desc->bNumDescriptors);
-
- for (i=0; i<desc->bNumDescriptors; i++) {
- printk(" %d:\n", i);
- printk(" bDescriptorType = %02x\n", desc->desc[i].bDescriptorType);
- printk(" wDescriptorLength = %04x\n", desc->desc[i].wDescriptorLength);
- }
-}
-
void usb_show_endpoint_descriptor(struct usb_endpoint_descriptor *desc)
{
char *LengthCommentString = (desc->bLength ==
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)