ohci: no conditional debugging in root hub hadling
With dynamic debugging the selection is done in user space Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1714ba0e8e
commit
00b033bb90
@ -725,10 +725,8 @@ static int ohci_hub_control (
|
|||||||
temp = roothub_portstatus (ohci, wIndex);
|
temp = roothub_portstatus (ohci, wIndex);
|
||||||
put_unaligned_le32(temp, buf);
|
put_unaligned_le32(temp, buf);
|
||||||
|
|
||||||
#ifndef OHCI_VERBOSE_DEBUG
|
if (*(u16*)(buf+2)) /* only if wPortChange is interesting */
|
||||||
if (*(u16*)(buf+2)) /* only if wPortChange is interesting */
|
dbg_port(ohci, "GetStatus", wIndex, temp);
|
||||||
#endif
|
|
||||||
dbg_port (ohci, "GetStatus", wIndex, temp);
|
|
||||||
break;
|
break;
|
||||||
case SetHubFeature:
|
case SetHubFeature:
|
||||||
switch (wValue) {
|
switch (wValue) {
|
||||||
|
Loading…
Reference in New Issue
Block a user