net: realtek: r8169: remove redundant assignment to giga_ctrl
authorColin Ian King <colin.king@canonical.com>
Wed, 8 Nov 2017 13:23:23 +0000 (13:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Nov 2017 01:02:33 +0000 (10:02 +0900)
commit07842561a873e8f25272bcebe7f6c7f1af7c1a2d
treee6c4bbfb17097e0a780d6da143e276132c60da8d
parent4b33709d894f2f058566ac06d9769dbc5617268d
net: realtek: r8169: remove redundant assignment to giga_ctrl

The variable giga_ctrl is being assigned to zero however this is
never read and hence the assignment is redundant, so remove it.
Cleans up clang warning:

drivers/net/ethernet/realtek/r8169.c:1978:3: warning: Value stored
to 'giga_ctrl' is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c