mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 18:19:28 +09:00
USB: Remove unused LPM variable.
commitc5c4bdf02eupstream. 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 commit8306095fd2"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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
04947ee176
commit
92e6be29a4
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user