aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/uhci-hcd.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2005-09-16 14:17:45 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 19:47:39 -0400
commit8b4cd42134fbd3c9a9a5c3467d31717798219b1b (patch)
treeaec7570ecc2f481b2a3357f05810be8c3d897669 /drivers/usb/host/uhci-hcd.h
parente08fb39b771dd7dcba405669b5384fe9929e1caf (diff)
[PATCH] USB: UHCI: Remove unused fields and unneeded tests for NULL
This patch (as562) removes from the uhci-hcd driver a few unused fields and some unnecessary tests against NULL and assignments to NULL. In fact it wasn't until fairly recently that the tests became unnecessary. Before last winter it was possible that the driver's stop() routine would get called even if the start() routine returned an error, but now that can't happen. Hence there's no longer any need to check for partial initialization. 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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/host/uhci-hcd.h b/drivers/usb/host/uhci-hcd.h
index 282f40b75881..1c161b4f5bcf 100644
--- a/drivers/usb/host/uhci-hcd.h
+++ b/drivers/usb/host/uhci-hcd.h
@@ -205,8 +205,6 @@ struct uhci_td {
205 /* Software fields */ 205 /* Software fields */
206 dma_addr_t dma_handle; 206 dma_addr_t dma_handle;
207 207
208 struct urb *urb;
209
210 struct list_head list; /* P: urb->lock */ 208 struct list_head list; /* P: urb->lock */
211 struct list_head remove_list; /* P: uhci->td_remove_list_lock */ 209 struct list_head remove_list; /* P: uhci->td_remove_list_lock */
212 210
@@ -434,7 +432,6 @@ struct urb_priv {
434 /* a control transfer, retrigger */ 432 /* a control transfer, retrigger */
435 /* the status phase */ 433 /* the status phase */
436 434
437 unsigned long inserttime; /* In jiffies */
438 unsigned long fsbrtime; /* In jiffies */ 435 unsigned long fsbrtime; /* In jiffies */
439 436
440 struct list_head queue_list; /* P: uhci->frame_list_lock */ 437 struct list_head queue_list; /* P: uhci->frame_list_lock */