net: mana: remove redundant initialization of variable err
authorColin Ian King <colin.king@canonical.com>
Tue, 20 Apr 2021 12:27:30 +0000 (13:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Apr 2021 00:05:19 +0000 (17:05 -0700)
commit55cdc26a91ac270887583945aef2bd460a2805f7
tree6841a1072af6a96049685523437216b7370bb85d
parentaf39c8f72301b268ad8b04bae646b6025918b82b
net: mana: remove redundant initialization of variable err

The variable err 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")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microsoft/mana/hw_channel.c