diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2007-01-16 11:57:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-07 18:44:37 -0500 |
commit | 896fbd7199035958013d106329843d8ae9618753 (patch) | |
tree | 24187ddb0820b472c48fb442bdbc30bde79ea9bd /include | |
parent | 3ca2a3211ee5078d49b04fe7149ff2a76473be51 (diff) |
usbcore: remove unused bandwith-related code
This patch (as841) removes from usbcore a couple of support routines
meant to help with bandwidth allocation. With the changes to uhci-hcd
in the previous patch, these routines are no longer used anywhere.
Also removed is the CONFIG_USB_BANDWIDTH option; it no longer does
anything and is no longer needed since the HCDs now handle bandwidth
issues correctly.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index 1c56386de709..3b08ab39550f 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -1110,7 +1110,6 @@ struct urb | |||
1110 | struct kref kref; /* reference count of the URB */ | 1110 | struct kref kref; /* reference count of the URB */ |
1111 | spinlock_t lock; /* lock for the URB */ | 1111 | spinlock_t lock; /* lock for the URB */ |
1112 | void *hcpriv; /* private data for host controller */ | 1112 | void *hcpriv; /* private data for host controller */ |
1113 | int bandwidth; /* bandwidth for INT/ISO request */ | ||
1114 | atomic_t use_count; /* concurrent submissions counter */ | 1113 | atomic_t use_count; /* concurrent submissions counter */ |
1115 | u8 reject; /* submissions will fail */ | 1114 | u8 reject; /* submissions will fail */ |
1116 | 1115 | ||