projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2a1054
)
net: farsync: remove redundant return
author
Peng Li
<lipeng321@huawei.com>
Tue, 8 Jun 2021 08:12:41 +0000
(16:12 +0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 8 Jun 2021 19:04:05 +0000
(12:04 -0700)
Void function return statements are not generally useful.
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/farsync.c
patch
|
blob
|
history
diff --git
a/drivers/net/wan/farsync.c
b/drivers/net/wan/farsync.c
index
3aea3d3
..
10208f0
100644
(file)
--- a/
drivers/net/wan/farsync.c
+++ b/
drivers/net/wan/farsync.c
@@
-1156,7
+1156,6
@@
fst_recover_rx_error(struct fst_card_info *card, struct fst_port_info *port,
rxp = (rxp + 1) % NUM_RX_BUFFER;
}
port->rxpos = rxp;
- return;
}
/* Rx complete interrupt