Skip to content

Commit

Permalink
staging: usbip: Updated comment describing VHCI_NPORTS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bart Westgeest authored and Greg Kroah-Hartman committed Jun 12, 2012
1 parent bf55b48 commit 1132b9a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/staging/usbip/vhci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 1132b9a

Please sign in to comment.