]> git.baikalelectronics.ru Git - kernel.git/commit
lan743x: remove redundant intializations of pointers adapter and phydev
authorColin Ian King <colin.king@canonical.com>
Sun, 28 Mar 2021 21:46:47 +0000 (22:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 17:56:41 +0000 (10:56 -0700)
commit0b56b5451f55a651ce1a86764bc6c00a341ce6b8
treeb732bd38ef6f7333aef8f039f0df671a7526da53
parentb179355ba6695043d240ff7602059392acc145ec
lan743x: remove redundant intializations of pointers adapter and phydev

The pointers adapter and phydev are being initialized with values that
are never read and are 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/microchip/lan743x_ethtool.c