diff options
Diffstat (limited to 'drivers/usb/core/hub.c')
-rw-r--r-- | drivers/usb/core/hub.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index b89a98e61323..7a6028599d62 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -119,8 +119,7 @@ MODULE_PARM_DESC(use_both_schemes, | |||
119 | "first one fails"); | 119 | "first one fails"); |
120 | 120 | ||
121 | 121 | ||
122 | #ifdef DEBUG | 122 | static inline char *portspeed(int portstatus) |
123 | static inline char *portspeed (int portstatus) | ||
124 | { | 123 | { |
125 | if (portstatus & (1 << USB_PORT_FEAT_HIGHSPEED)) | 124 | if (portstatus & (1 << USB_PORT_FEAT_HIGHSPEED)) |
126 | return "480 Mb/s"; | 125 | return "480 Mb/s"; |
@@ -129,7 +128,6 @@ static inline char *portspeed (int portstatus) | |||
129 | else | 128 | else |
130 | return "12 Mb/s"; | 129 | return "12 Mb/s"; |
131 | } | 130 | } |
132 | #endif | ||
133 | 131 | ||
134 | /* Note that hdev or one of its children must be locked! */ | 132 | /* Note that hdev or one of its children must be locked! */ |
135 | static inline struct usb_hub *hdev_to_hub(struct usb_device *hdev) | 133 | static inline struct usb_hub *hdev_to_hub(struct usb_device *hdev) |