diff options
author | françois romieu <romieu@fr.zoreil.com> | 2014-06-07 05:07:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-11 03:13:16 -0400 |
commit | a25aafaa5ba8ab267677615f821cb5d0303521e5 (patch) | |
tree | 140448558165fe1428145ace55d773efba16b79b | |
parent | df6d0f983a59c333bc2b0cb82b65441b34310cf7 (diff) |
amd-xgbe: fix unused variable compilation warning in phylib driver
Fix following compilation warning:
[...]
CC drivers/net/phy/amd-xgbe-phy.o
drivers/net/phy/amd-xgbe-phy.c:1353:30: warning:
‘amd_xgbe_phy_ids’ defined but not used [-Wunused-variable]
static struct mdio_device_id amd_xgbe_phy_ids[] = {
^
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/phy/amd-xgbe-phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/amd-xgbe-phy.c b/drivers/net/phy/amd-xgbe-phy.c index d4b1c81610dd..b57c22442867 100644 --- a/drivers/net/phy/amd-xgbe-phy.c +++ b/drivers/net/phy/amd-xgbe-phy.c | |||
@@ -1350,7 +1350,7 @@ static void __exit amd_xgbe_phy_exit(void) | |||
1350 | module_init(amd_xgbe_phy_init); | 1350 | module_init(amd_xgbe_phy_init); |
1351 | module_exit(amd_xgbe_phy_exit); | 1351 | module_exit(amd_xgbe_phy_exit); |
1352 | 1352 | ||
1353 | static struct mdio_device_id amd_xgbe_phy_ids[] = { | 1353 | static struct mdio_device_id __maybe_unused amd_xgbe_phy_ids[] = { |
1354 | { XGBE_PHY_ID, XGBE_PHY_MASK }, | 1354 | { XGBE_PHY_ID, XGBE_PHY_MASK }, |
1355 | { } | 1355 | { } |
1356 | }; | 1356 | }; |