[PATCH 1/7] staging: usbip: stub: update refcounts for devices and interfaces
Greg KH
greg at kroah.com
Fri Jan 21 00:16:43 UTC 2011
On Fri, Jan 21, 2011 at 01:07:29AM +0100, Endre Kollár wrote:
> Unnecessary stucture element "interface":
> struct stub_device {
> - struct usb_interface *interface;
> + struct usb_device *udev;
> struct list_head list;
> ...
>
> sdev->interface never used. Except:
> -"usb_lock_device_for_reset(udev, sdev->interface);"
> sdev->interface : optional (interface bound to the driver
> making the request)
>
> -printing sdev->interface->dev (device id)
> instead usable: sdev->udev
>
> Since structural changes have occurred: "Fix multiple interfaces" patch
I don't understand, can you send a patch for this?
thanks,
greg k-h
More information about the devel
mailing list