octeontx2-af: Remove redundant initialization of pointer pfvf
authorColin Ian King <colin.king@canonical.com>
Thu, 18 Mar 2021 16:14:28 +0000 (16:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Mar 2021 02:13:42 +0000 (19:13 -0700)
commit0f9651bb3ade97de3576b982513296c8783ad8bc
tree97e743a2d1636a94dbb56ed769a0915c368a1ce5
parent269aa0301224dc001676322c0305b0d02c93b7bb
octeontx2-af: Remove redundant initialization of pointer pfvf

The pointer pfvf is being initialized with a value that is
never read and it is being updated later with a new value.  The
initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Fixes: 56bcef528bd8 ("octeontx2-af: Use npc_install_flow API for promisc and broadcast entries")
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_npc.c