summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2004-03-02 20:54:26 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2004-03-02 20:54:26 -0800
commit07fd2b87fca9fb39a7d2626283291ce3861e1b5e (patch)
treeffa23702297bb294d289e2837c2203198d973c77 /include/linux
parent667a8226c541749f54364fd092419d4c292b3ca1 (diff)
[PATCH] USB: remove intf->act_altsetting altogether from the USB core and usb.h
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index e7e102afcb20..eb34f2ee39ea 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -77,10 +77,6 @@ struct usb_host_interface {
* endpoint configurations. They will be in no particular order.
* @num_altsetting: number of altsettings defined.
* @cur_altsetting: the current altsetting.
- * @act_altsetting: index of current altsetting. This number is always
- * less than num_altsetting. After the device is configured, each
- * interface uses its default setting of zero.
- * NOTE: act_altsetting is deprecated. Use cur_altsetting instead.
* @driver: the USB driver that is bound to this interface.
* @minor: the minor number assigned to this interface, if this
* interface is bound to a driver that uses the USB major number.
@@ -125,7 +121,6 @@ struct usb_interface {
struct usb_host_interface *cur_altsetting; /* the currently
* active alternate setting */
- unsigned act_altsetting; /* index of active alternate setting: DEPRECATED */
unsigned num_altsetting; /* number of alternate settings */
struct usb_driver *driver; /* driver */