xgene: Fix build warning with ACPI disabled.
authorDavid S. Miller <davem@davemloft.net>
Wed, 27 Jul 2016 06:19:29 +0000 (23:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jul 2016 06:19:29 +0000 (23:19 -0700)
commit36232012344b8db67052432742deaf17f82e70e6
treec79caee771ef53ab1fb0ce428b075007b30c2dff
parentd3480615cf00c6f615cdb61a9d03386574b93342
xgene: Fix build warning with ACPI disabled.

drivers/net/ethernet/apm/xgene/xgene_enet_hw.c: In function 'xgene_enet_phy_connect':
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c:759:22: warning: unused variable 'adev' [-Wunused-variable]

Fixes: 8089a96f601b ("drivers: net: xgene: Add backward compatibility")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c