]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: usbip: Updated comment describing VHCI_NPORTS
authorBart Westgeest <bart@elbrys.com>
Mon, 11 Jun 2012 20:57:30 +0000 (16:57 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 00:06:35 +0000 (17:06 -0700)
Updated out-of-date comment describing VHCI_NPORT

Signed-off-by: Bart Westgeest <bart@elbrys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/vhci.h

index 88b32981cf1f1d5d89b83c67fdfb8c13cb155702..c66b8b3f97b40c43b7b07c184934fc44409a9f2a 100644 (file)
@@ -71,12 +71,7 @@ struct vhci_unlink {
        unsigned long unlink_seqnum;
 };
 
-/*
- * The number of ports is less than 16 ?
- * USB_MAXCHILDREN is statically defined to 16 in usb.h.  Its maximum value
- * would be 31 because the event_bits[1] of struct usb_hub is defined as
- * unsigned long in hub.h
- */
+/* Number of supported ports. Value has an upperbound of USB_MAXCHILDREN */
 #define VHCI_NPORTS 8
 
 /* for usb_bus.hcpriv */