Re: [PATCH net-next] net/rocker: Remove unreachable return instruction

2018-01-28 Thread David Miller
From: Leon Romanovsky Date: Sun, 28 Jan 2018 15:54:38 +0200 > From: Leon Romanovsky > > 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 > switc

[PATCH net-next] net/rocker: Remove unreachable return instruction

2018-01-28 Thread Leon Romanovsky
From: Leon Romanovsky 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 --- drivers/net/ethernet