Commit 751c45bd authored by Leon Romanovsky's avatar Leon Romanovsky Committed by David S. Miller

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: 00fc0c51 ("rocker: Change world_ops API and implementation to be switchdev independant")
Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6bb46bc5
...@@ -789,7 +789,6 @@ static int ofdpa_flow_tbl_add(struct ofdpa_port *ofdpa_port, ...@@ -789,7 +789,6 @@ static int ofdpa_flow_tbl_add(struct ofdpa_port *ofdpa_port,
ofdpa_flags_nowait(flags), ofdpa_flags_nowait(flags),
ofdpa_cmd_flow_tbl_add, ofdpa_cmd_flow_tbl_add,
found, NULL, NULL); found, NULL, NULL);
return 0;
} }
static int ofdpa_flow_tbl_del(struct ofdpa_port *ofdpa_port, static int ofdpa_flow_tbl_del(struct ofdpa_port *ofdpa_port,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment