Searched hist:bb5441fc (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/usb/ |
H A D | cdc_eem.c | bb5441fc Wed Mar 07 03:46:58 CST 2018 Johan Hovold <johan@kernel.org> net: cdc_eem: clean up bind error path
Drop bogus call to usb_driver_release_interface() from an error path in the usbnet bind() callback, which is called during interface probe. At this point the interface is not bound and usb_driver_release_interface() returns early.
Also remove the bogus call to clear the interface data, which is owned by the usbnet driver and would not even have been set by the time bind() is called.
Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Oliver Neukum <oneukum@suse.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: David S. Miller <davem@davemloft.net> bb5441fc Wed Mar 07 03:46:58 CST 2018 Johan Hovold <johan@kernel.org> net: cdc_eem: clean up bind error path Drop bogus call to usb_driver_release_interface() from an error path in the usbnet bind() callback, which is called during interface probe. At this point the interface is not bound and usb_driver_release_interface() returns early. Also remove the bogus call to clear the interface data, which is owned by the usbnet driver and would not even have been set by the time bind() is called. Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Oliver Neukum <oneukum@suse.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|