USB: Remove unused LPM variable.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 5 Jul 2012 16:41:22 +0000 (09:41 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 11 Jul 2012 11:06:47 +0000 (07:06 -0400)
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>
Cc: stable@vger.kernel.org
include/linux/usb.h

index d4f9de1acd45cfd933895361a09de941d8b1a3a2..dea2f0de063e6b537c24889674565640134d0404 100644 (file)
@@ -561,7 +561,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)
 
This page took 0.036958 seconds and 5 git commands to generate.