net: marvell: prestera: remove reduntant code
authorSebin Sebastian <mailmesebin00@gmail.com>
Mon, 1 Aug 2022 04:07:31 +0000 (09:37 +0530)
committerJakub Kicinski <kuba@kernel.org>
Tue, 2 Aug 2022 03:32:07 +0000 (20:32 -0700)
commit969e26c63d309c3555905f894560bcdee42f3464
tree0bf9ac02219daa2763f20cd8744e2469472774b4
parent80ef928643c1558a0474389fcd680a5ccd6c86e6
net: marvell: prestera: remove reduntant code

Fixes the coverity warning 'EVALUATION_ORDER' violation. port is written
twice with the same value.

Signed-off-by: Sebin Sebastian <mailmesebin00@gmail.com>
Link: https://lore.kernel.org/r/20220801040731.34741-1-mailmesebin00@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/prestera/prestera_main.c