diff options
| author | Felipe Balbi <[email protected]> | 2008-06-12 07:49:47 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2008-07-21 22:16:26 +0000 |
| commit | 38f3ad5e7463d4dd490a8081a5f3f9f2dec7ecd6 (patch) | |
| tree | 2dd60da46d065e4df9e34fe031d13e38bfc22dff /drivers/usb/core/devices.c | |
| parent | USB: ohci_hcd hang: submit vs. rmmod race (diff) | |
| download | kernel-38f3ad5e7463d4dd490a8081a5f3f9f2dec7ecd6.tar.gz kernel-38f3ad5e7463d4dd490a8081a5f3f9f2dec7ecd6.zip | |
usb: hub: add check for unsupported bus topology
We can't allow hubs on the 7th tier as they would allow
devices on the 8th tier.
Signed-off-by: Felipe Balbi <[email protected]>
Cc: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/core/devices.c')
| -rw-r--r-- | drivers/usb/core/devices.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/core/devices.c b/drivers/usb/core/devices.c index a681d9b92bda..6ec38175a817 100644 --- a/drivers/usb/core/devices.c +++ b/drivers/usb/core/devices.c @@ -61,8 +61,6 @@ #include "usb.h" #include "hcd.h" -#define MAX_TOPO_LEVEL 6 - /* Define ALLOW_SERIAL_NUMBER if you want to see the serial number of devices */ #define ALLOW_SERIAL_NUMBER |
