diff options
author | Johan Hovold <johan@kernel.org> | 2018-03-07 10:46:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-07 15:39:27 -0500 |
commit | bb5441fc3cc0e11be0ff9bbc6a00a74b3d2b0153 (patch) | |
tree | 216b79e7788c424deea97b4cef27c62c7471ac5e /drivers/extcon/Kconfig | |
parent | 4f06717fb063ad4ef38bd5e0ec1881bc784c325b (diff) |
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>
Diffstat (limited to 'drivers/extcon/Kconfig')
0 files changed, 0 insertions, 0 deletions