]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Remove redundant initialization of variable blkaddr
authorColin Ian King <colin.king@canonical.com>
Fri, 17 Sep 2021 12:03:33 +0000 (13:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Sep 2021 13:00:51 +0000 (14:00 +0100)
commit7bf322dbc4a2dccbe55e4aa3167be55b6ff729d4
tree92eb809ecda7785dc9198930ddab277d77e53c67
parent8963cc19e60316c1183d5b81b536bc2e0cd49f86
octeontx2-af: Remove redundant initialization of variable blkaddr

The variable blkaddr is being initialized with a value that is never
read, it is being updated later on in a for-loop. The assignment is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu.c