Re: [PATCH 1/7] staging: usbip: stub: update refcounts for devices and interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux