diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2018-01-28 16:54:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-28 18:13:40 +0300 |
commit | 751c45bd828f935ac6330b933ff10bf55277c84c (patch) | |
tree | 898f0a42961b182576745fe674a6af819a715ee5 /drivers/net | |
parent | 6bb46bc57c8e9ce947cc605e555b7204b44d2b10 (diff) | |
download | linux-751c45bd828f935ac6330b933ff10bf55277c84c.tar.xz |
net/rocker: Remove unreachable return instruction
The "return 0" instruction follows other return instruction
and it makes it impossible to execute, hence remove it.
Fixes: 00fc0c51e35b ("rocker: Change world_ops API and implementation to be switchdev independant")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/rocker/rocker_ofdpa.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/rocker/rocker_ofdpa.c b/drivers/net/ethernet/rocker/rocker_ofdpa.c index 6d6fb8cf3e7c..6473cc68c2d5 100644 --- a/drivers/net/ethernet/rocker/rocker_ofdpa.c +++ b/drivers/net/ethernet/rocker/rocker_ofdpa.c @@ -789,7 +789,6 @@ static int ofdpa_flow_tbl_add(struct ofdpa_port *ofdpa_port, ofdpa_flags_nowait(flags), ofdpa_cmd_flow_tbl_add, found, NULL, NULL); - return 0; } static int ofdpa_flow_tbl_del(struct ofdpa_port *ofdpa_port, |