From: Dmitry Torokhov Date: Sun, 7 Mar 2010 20:37:17 +0000 (-0800) Subject: USB: remove unused defintion of struct usb_device_status X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3ceb85ae35421c5bc560c7af8d0dd1c73d071ad0;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git USB: remove unused defintion of struct usb_device_status The recent rework of /proc/bus/usb/devices polling support made this structure unused so let's remove it. Signed-off-by: Dmitry Torokhov Signed-off-by: Linus Torvalds --- diff --git a/drivers/usb/core/devices.c b/drivers/usb/core/devices.c index 6053a8b730cd..d41811bfef2a 100644 --- a/drivers/usb/core/devices.c +++ b/drivers/usb/core/devices.c @@ -133,11 +133,6 @@ static struct device_connect_event { .wait = __WAIT_QUEUE_HEAD_INITIALIZER(device_event.wait) }; -/* this struct stores the poll state for /devices pollers */ -struct usb_device_status { - unsigned int lastev; -}; - struct class_info { int class; char *class_name;