diff mbox series

[next,2/2] net: ch9200: remove unnecessary return

Message ID 20200107092856.97742-3-chenzhou10@huawei.com
State Accepted
Delegated to: David Miller
Headers show
Series net: ch9200: code cleanup | expand

Commit Message

chenzhou Jan. 7, 2020, 9:28 a.m. UTC
The return is not needed, remove it.

Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
---
 drivers/net/usb/ch9200.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/net/usb/ch9200.c b/drivers/net/usb/ch9200.c
index 3c2dc74..d7f3b70 100644
--- a/drivers/net/usb/ch9200.c
+++ b/drivers/net/usb/ch9200.c
@@ -130,8 +130,6 @@  static int control_read(struct usbnet *dev,
 		err = -EINVAL;
 	kfree(buf);
 
-	return err;
-
 err_out:
 	return err;
 }