diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2006-05-12 11:29:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 18:04:11 -0400 |
commit | 04538a255ac8b404c20cbf15867c9829254c470f (patch) | |
tree | 8b8a9bf63e9b1b804e2bf732e32db2827f422867 /drivers/usb/host/uhci-hcd.h | |
parent | a0b458b64b2a3a4cb806dd5cd889bbf6c7e9d686 (diff) |
[PATCH] UHCI: Eliminate the TD-removal list
This patch (as682) gets rid of the TD-removal list in uhci-hcd. It is
no longer needed because now TDs are not freed until we know the
hardware isn't using them. It also simplifies the code for adding and
removing TDs to/from URBs.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/uhci-hcd.h')
-rw-r--r-- | drivers/usb/host/uhci-hcd.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/host/uhci-hcd.h b/drivers/usb/host/uhci-hcd.h index 3093ca250942..90ef7fbbf2fb 100644 --- a/drivers/usb/host/uhci-hcd.h +++ b/drivers/usb/host/uhci-hcd.h | |||
@@ -228,7 +228,6 @@ struct uhci_td { | |||
228 | dma_addr_t dma_handle; | 228 | dma_addr_t dma_handle; |
229 | 229 | ||
230 | struct list_head list; | 230 | struct list_head list; |
231 | struct list_head remove_list; | ||
232 | 231 | ||
233 | int frame; /* for iso: what frame? */ | 232 | int frame; /* for iso: what frame? */ |
234 | struct list_head fl_list; | 233 | struct list_head fl_list; |
@@ -420,10 +419,6 @@ struct uhci_hcd { | |||
420 | unsigned long resuming_ports; | 419 | unsigned long resuming_ports; |
421 | unsigned long ports_timeout; /* Time to stop signalling */ | 420 | unsigned long ports_timeout; /* Time to stop signalling */ |
422 | 421 | ||
423 | /* List of TDs that are done, but waiting to be freed (race) */ | ||
424 | struct list_head td_remove_list; | ||
425 | unsigned int td_remove_age; /* Age in frames */ | ||
426 | |||
427 | struct list_head idle_qh_list; /* Where the idle QHs live */ | 422 | struct list_head idle_qh_list; /* Where the idle QHs live */ |
428 | 423 | ||
429 | int rh_numports; /* Number of root-hub ports */ | 424 | int rh_numports; /* Number of root-hub ports */ |