Skip to content

Commit

Permalink
USB: remove unused defintion of struct usb_device_status
Browse files Browse the repository at this point in the history
The recent rework of /proc/bus/usb/devices polling support made
this structure unused so let's remove it.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Dmitry Torokhov authored and Linus Torvalds committed Mar 7, 2010
1 parent b8fa057 commit 3ceb85a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/usb/core/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ static struct device_connect_event {
.wait = __WAIT_QUEUE_HEAD_INITIALIZER(device_event.wait)
};

/* this struct stores the poll state for <mountpoint>/devices pollers */
struct usb_device_status {
unsigned int lastev;
};

struct class_info {
int class;
char *class_name;
Expand Down

0 comments on commit 3ceb85a

Please sign in to comment.