]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/host/ehci-hub.c
USB: EHCI: remove unused Link Power Management code
[karo-tx-linux.git] / drivers / usb / host / ehci-hub.c
index a7ec827ca2ca697344418a58a9dc3d0c27aae316..a2c56cdd2c3a40a8d63054d06bd05402dda53049 100644 (file)
@@ -777,11 +777,6 @@ static int ehci_hub_control (
                                                status_reg);
                        break;
                case USB_PORT_FEAT_C_CONNECTION:
-                       if (ehci->has_lpm) {
-                               /* clear PORTSC bits on disconnect */
-                               temp &= ~PORT_LPM;
-                               temp &= ~PORT_DEV_ADDR;
-                       }
                        ehci_writel(ehci, temp | PORT_CSC, status_reg);
                        break;
                case USB_PORT_FEAT_C_OVER_CURRENT: