]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7b0617bd7c12e9ee748487b190401b7550b5c53
tree0bf9ac02219daa2763f20cd8744e2469472774b4
parente7e81ed059842130930997ab98d68b0866faa747
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