Skip to content
Commit 9984c0bb authored by Luo Jiaxing's avatar Luo Jiaxing Committed by David S. Miller
Browse files

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: default avatarLuo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 25ed57b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment