diff options
author | Sarah Sharp | 2012-07-05 18:41:22 +0200 |
---|---|---|
committer | Sarah Sharp | 2012-07-11 13:06:47 +0200 |
commit | c5c4bdf02e518a281b229ae0891b346919e2d291 (patch) | |
tree | a906d7df62e69d22b434fc60a7139a6a6fd8c3f3 /include/linux/usb.h | |
parent | USB: Fix LPM disable count mismatch on driver unbind. (diff) | |
download | kernel-qcow2-linux-c5c4bdf02e518a281b229ae0891b346919e2d291.tar.gz kernel-qcow2-linux-c5c4bdf02e518a281b229ae0891b346919e2d291.tar.xz kernel-qcow2-linux-c5c4bdf02e518a281b229ae0891b346919e2d291.zip |
USB: Remove unused LPM variable.
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
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index d4f9de1acd45..dea2f0de063e 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -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) |