OSDN Git Service

net: farsync: remove redundant return
authorPeng Li <lipeng321@huawei.com>
Tue, 8 Jun 2021 08:12:41 +0000 (16:12 +0800)
committerDavid 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

index 3aea3d3..10208f0 100644 (file)
@@ -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