Skip to content

Commit

Permalink
net: farsync: remove redundant return
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peng Li authored and David S. Miller committed Jun 8, 2021
1 parent d2a1054 commit f01f906
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/wan/farsync.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f01f906

Please sign in to comment.