aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorChen Zhou <chenzhou10@huawei.com>2020-01-07 17:28:56 +0800
committerDavid S. Miller <davem@davemloft.net>2020-01-07 13:30:36 -0800
commit195234b8856e590624d2a15ff0258366fc81cfe2 (patch)
tree62171f28348e246b7fa2f87cad2ea1f5adda5096 /drivers/net/usb
parentnet: ch9200: use __func__ in debug message (diff)
downloadlinux-dev-195234b8856e590624d2a15ff0258366fc81cfe2.tar.xz
linux-dev-195234b8856e590624d2a15ff0258366fc81cfe2.zip
net: ch9200: remove unnecessary return
The return is not needed, remove it. Signed-off-by: Chen Zhou <chenzhou10@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r--drivers/net/usb/ch9200.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/usb/ch9200.c b/drivers/net/usb/ch9200.c
index 3c2dc7474d4a..d7f3b70d5477 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;
}