]> git.baikalelectronics.ru Git - kernel.git/commit
xhci: remove unused lpm_failed_dev member from struct xhci_hcd
authorMathias Nyman <mathias.nyman@linux.intel.com>
Wed, 21 Sep 2022 12:34:50 +0000 (15:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2022 13:52:29 +0000 (15:52 +0200)
commitf6dd6698ad86ef5d9020980d114764cf33286ecb
treec33d9437539708a678a8f788577ffeca6c06d619
parente7e4325307c91560e1111c33d45a7dadb68ac329
xhci: remove unused lpm_failed_dev member from struct xhci_hcd

xhci used to test if link power management (LPM) capable USB2 devices
really could enter and exit L1 state link state.
Failed devices were added to a lpm_failed_dev list.

This feature was removed 9 years ago in
commit f9cb65965f9c ("usb: Don't enable USB 2.0 Link PM by default.")
but lpm_failed_dev member was still left.

Remove it now.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20220921123450.671459-7-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.h