summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2021-06-08 16:12:41 +0800
committerDavid S. Miller <davem@davemloft.net>2021-06-08 12:04:05 -0700
commitf01f906ffefc71e5d370e7542884820d1318358b (patch)
treef0ae55f27d9ce9b0bd79e8ec071f92cabeebf97e /drivers
parentd2a1054b8b02afdaae8119fdd7bf1171fd2fce2b (diff)
net: farsync: remove redundant return
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wan/farsync.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wan/farsync.c b/drivers/net/wan/farsync.c
index 3aea3d36b3c3..10208f058a52 100644
--- 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