net: smc91x: Remove set but not used variable 'status' in smc_phy_configure()
authorLuo Jiaxing <luojiaxing@huawei.com>
Thu, 10 Sep 2020 13:12:16 +0000 (21:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Sep 2020 01:57:30 +0000 (18:57 -0700)
commit9984c0bb22dcae688ef8588e2621133850ff49bc
treeac3aa829e8035cb8bcbf3ba6dc8706c213167f4f
parent25ed57b86fb9f7770f396469b023c0e6a45b66a8
net: smc91x: Remove set but not used variable 'status' in smc_phy_configure()

Fixes the following warning when using W=1 to build kernel:

drivers/net/ethernet/smsc/smc91x.c: In function ‘smc_phy_configure’:
drivers/net/ethernet/smsc/smc91x.c:1039:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
  int status;

Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smc91x.c