diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2005-04-25 11:14:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-27 14:43:48 -0700 |
commit | 2532178a68b5ce4e421d50ea1b1dcc0a1359f19d (patch) | |
tree | 8ceb32dab2f43431946ef9b09fd02cb07e76e4ed /drivers/usb/host/ohci.h | |
parent | 7d35b9298539d2818c51fe9070b08cf9876016f4 (diff) | |
download | linux-3.10-2532178a68b5ce4e421d50ea1b1dcc0a1359f19d.tar.gz linux-3.10-2532178a68b5ce4e421d50ea1b1dcc0a1359f19d.tar.bz2 linux-3.10-2532178a68b5ce4e421d50ea1b1dcc0a1359f19d.zip |
[PATCH] UHCI: Don't store device pointer in QH or TD
This patch simplifies the uhci-hcd driver by removing the device pointer
currently stored in the QH and TD structures. Those pointers weren't
being used for anything other than to increment the device's reference
count, which is unnecessary since the device is used only when an URB
completes, and outstanding URBs take their own reference to the device.
As a useful side effect, this change means that uhci-hcd no longer needs
to have the root-hub device available in the start routine.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci.h')
0 files changed, 0 insertions, 0 deletions