mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-05 06:05:06 +00:00
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: 00fc0c51e3
("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>
This commit is contained in:
parent
6bb46bc57c
commit
751c45bd82
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue