Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Leon Romanovsky and committed by
David S. Miller
751c45bd 6bb46bc5

-1
-1
drivers/net/ethernet/rocker/rocker_ofdpa.c
··· 789 789 ofdpa_flags_nowait(flags), 790 790 ofdpa_cmd_flow_tbl_add, 791 791 found, NULL, NULL); 792 - return 0; 793 792 } 794 793 795 794 static int ofdpa_flow_tbl_del(struct ofdpa_port *ofdpa_port,