ohci: no conditional debugging in root hub hadling
authorOliver Neukum <oneukum@suse.de>
Mon, 18 Nov 2013 12:23:00 +0000 (13:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 18:25:22 +0000 (10:25 -0800)
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>
drivers/usb/host/ohci-hub.c

index 61705a760e7db5d68fed2df19f94b3bdef96697e..c81c8721cc5a9e3d07e20c29d9d40e540136409e 100644 (file)
@@ -725,10 +725,8 @@ static int ohci_hub_control (
                temp = roothub_portstatus (ohci, wIndex);
                put_unaligned_le32(temp, buf);
 
-#ifndef        OHCI_VERBOSE_DEBUG
-       if (*(u16*)(buf+2))     /* only if wPortChange is interesting */
-#endif
-               dbg_port (ohci, "GetStatus", wIndex, temp);
+               if (*(u16*)(buf+2))     /* only if wPortChange is interesting */
+                       dbg_port(ohci, "GetStatus", wIndex, temp);
                break;
        case SetHubFeature:
                switch (wValue) {