Commit 3ccbb87c authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: remove "released" field from struct usb_interface as it is not needed.

parent e0d47b75
...@@ -87,8 +87,6 @@ struct usb_host_interface { ...@@ -87,8 +87,6 @@ struct usb_host_interface {
* number from the USB core by calling usb_register_dev(). * number from the USB core by calling usb_register_dev().
* @dev: driver model's view of this device * @dev: driver model's view of this device
* @class_dev: driver model's class view of this device. * @class_dev: driver model's class view of this device.
* @released: wait for the interface to be released when changing
* configurations.
* *
* USB device drivers attach to interfaces on a physical device. Each * USB device drivers attach to interfaces on a physical device. Each
* interface encapsulates a single high level function, such as feeding * interface encapsulates a single high level function, such as feeding
...@@ -127,7 +125,6 @@ struct usb_interface { ...@@ -127,7 +125,6 @@ struct usb_interface {
int minor; /* minor number this interface is bound to */ int minor; /* minor number this interface is bound to */
struct device dev; /* interface specific device info */ struct device dev; /* interface specific device info */
struct class_device *class_dev; struct class_device *class_dev;
struct completion *released; /* wait for release */
}; };
#define to_usb_interface(d) container_of(d, struct usb_interface, dev) #define to_usb_interface(d) container_of(d, struct usb_interface, dev)
#define interface_to_usbdev(intf) \ #define interface_to_usbdev(intf) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment