drivers: net: smc91x: remove redundant initialization of pointer gpio
authorColin Ian King <colin.king@canonical.com>
Fri, 26 Mar 2021 19:28:47 +0000 (19:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 00:51:17 +0000 (17:51 -0700)
commit214037a146ffb796d3f4b012e818360d2bb29f6b
treec24408b21b4c3ec6110a73d43eba7ca70a3ab3fb
parent72642f4127c3b560516127408e8f9b92a56e486e
drivers: net: smc91x: remove redundant initialization of pointer gpio

The pointer gpio 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/smsc/smc91x.c