]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
USB: Remove unused LPM variable.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 5 Jul 2012 16:41:22 +0000 (09:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:22:50 +0000 (08:22 -0700)
commit c5c4bdf02e518a281b229ae0891b346919e2d291 upstream.

hub_initiated_lpm_disable_count is not used by any code, so remove it.

This commit should be backported to kernels as old as 3.5, that contain
the commit 8306095fd2c1100e8244c09bf560f97aca5a311d "USB: Disable USB
3.0 LPM in critical sections."

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/usb.h

index dea39dc551d44c3602f1b7c33800dfba57a0a5b3..72a0e7d039df3c4f602dbc83b31fe27b681f027f 100644 (file)
@@ -556,7 +556,6 @@ struct usb_device {
        struct usb3_lpm_parameters u1_params;
        struct usb3_lpm_parameters u2_params;
        unsigned lpm_disable_count;
-       unsigned hub_initiated_lpm_disable_count;
 };
 #define        to_usb_device(d) container_of(d, struct usb_device, dev)