Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,