net: 3com: 3c59x: remove set but not used variable 'mii_reg1'
authoryu kuai <yukuai3@huawei.com>
Mon, 6 Jan 2020 14:18:45 +0000 (22:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jan 2020 20:40:03 +0000 (12:40 -0800)
commite102774588b3ac0d221ed2d03a5153e056f1354f
tree5979d6abb06c0e07bfc595259f748afccbafc478
parent94d3997828af15ecf1316c245c73f8a564922d19
net: 3com: 3c59x: remove set but not used variable 'mii_reg1'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/ethernet/3com/3c59x.c: In function ‘vortex_up’:
drivers/net/ethernet/3com/3c59x.c:1551:9: warning: variable
‘mii_reg1’ set but not used [-Wunused-but-set-variable]

It is never used, and so can be removed.

Signed-off-by: yu kuai <yukuai3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/3com/3c59x.c