diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-07-14 11:03:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 17:35:40 -0400 |
commit | 88d8aa462b8a2128a75b96a0134b22f724ca45d1 (patch) | |
tree | 006b2e2d90cd303a8f2ae53debb9c5cfcd99ba84 /drivers/usb/host/ehci.h | |
parent | 1fb2e0558781b07d2ecaabf94c81c17ac820d8f0 (diff) |
USB: EHCI: remove dead code in the periodic scheduler
This patch (as1409) removes some dead code from the ehci-hcd
scheduler. Thanks to the previous patch in this series, stream->depth
is no longer used. And stream->start and stream->rescheduled
apparently have not been used for quite a while, except in some
statistics-reporting code that never gets invoked.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci.h')
-rw-r--r-- | drivers/usb/host/ehci.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index 2c050efd1deb..e5b9ece8a077 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h | |||
@@ -404,15 +404,12 @@ struct ehci_iso_stream { | |||
404 | u32 refcount; | 404 | u32 refcount; |
405 | u8 bEndpointAddress; | 405 | u8 bEndpointAddress; |
406 | u8 highspeed; | 406 | u8 highspeed; |
407 | u16 depth; /* depth in uframes */ | ||
408 | struct list_head td_list; /* queued itds/sitds */ | 407 | struct list_head td_list; /* queued itds/sitds */ |
409 | struct list_head free_list; /* list of unused itds/sitds */ | 408 | struct list_head free_list; /* list of unused itds/sitds */ |
410 | struct usb_device *udev; | 409 | struct usb_device *udev; |
411 | struct usb_host_endpoint *ep; | 410 | struct usb_host_endpoint *ep; |
412 | 411 | ||
413 | /* output of (re)scheduling */ | 412 | /* output of (re)scheduling */ |
414 | unsigned long start; /* jiffies */ | ||
415 | unsigned long rescheduled; | ||
416 | int next_uframe; | 413 | int next_uframe; |
417 | __hc32 splits; | 414 | __hc32 splits; |
418 | 415 | ||