Re: [PATCH 05/26] usb: gadget: f_ecm: eliminate abuse of ep->driver data

2015-09-16 Thread Robert Baldyga
On 09/15/2015 05:45 PM, Krzysztof Opasiak wrote: > > > On 09/15/2015 04:26 PM, Robert Baldyga wrote: >> Since ep->driver_data is not used for endpoint claiming, neither for >> enabled/disabled state storing, we can reduce number of places where >> we read or modify it's value, as now it has no

Re: [PATCH 05/26] usb: gadget: f_ecm: eliminate abuse of ep->driver data

2015-09-15 Thread Krzysztof Opasiak
On 09/15/2015 04:26 PM, Robert Baldyga wrote: Since ep->driver_data is not used for endpoint claiming, neither for enabled/disabled state storing, we can reduce number of places where we read or modify it's value, as now it has no particular meaning for function or framework logic. In case of

[PATCH 05/26] usb: gadget: f_ecm: eliminate abuse of ep->driver data

2015-09-15 Thread Robert Baldyga
Since ep->driver_data is not used for endpoint claiming, neither for enabled/disabled state storing, we can reduce number of places where we read or modify it's value, as now it has no particular meaning for function or framework logic. In case of f_ecm, ep->driver_data was used only for endpoint