projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e64dec8
)
net: ch9200: remove unnecessary return
author
Chen Zhou
<chenzhou10@huawei.com>
Tue, 7 Jan 2020 09:28:56 +0000
(17:28 +0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 7 Jan 2020 21:30:36 +0000
(13:30 -0800)
The return is not needed, remove it.
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/ch9200.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/ch9200.c
b/drivers/net/usb/ch9200.c
index 3c2dc7474d4a19ec04a490d9ebcb9542e3267f5e..d7f3b70d5477542fa106bce03e1f6e4f75395c2b 100644
(file)
--- 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;
}