net/rocker: Remove unreachable return instruction
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 28 Jan 2018 13:54:38 +0000 (15:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Jan 2018 15:13:40 +0000 (10:13 -0500)
commit751c45bd828f935ac6330b933ff10bf55277c84c
tree898f0a42961b182576745fe674a6af819a715ee5
parent6bb46bc57c8e9ce947cc605e555b7204b44d2b10
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>
drivers/net/ethernet/rocker/rocker_ofdpa.c