diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2013-06-12 03:07:29 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-13 13:45:19 +0400 |
commit | 8e994402ad5e6ae3d391c0935f9f1dc2eeb92a5e (patch) | |
tree | 8bef1e6985131ea7e3e7fb7292a44f3c24b1d59d /drivers/net/ethernet/renesas | |
parent | fe2c6338fd2c6f383c4d4164262f35c8f3708e1f (diff) | |
download | linux-8e994402ad5e6ae3d391c0935f9f1dc2eeb92a5e.tar.xz |
sh_eth: remove '__maybe_unused' annotations
Now that the SoC specific support is no longer done with help of #ifdef'fery,
we no longer need '__maybe_unused' annotations to sh_eth_select_mii() and
sh_eth_set_duplex()...
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas')
-rw-r--r-- | drivers/net/ethernet/renesas/sh_eth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index 67a9e962f142..a2eadc070328 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -321,7 +321,7 @@ static int sh_eth_is_gether(struct sh_eth_private *mdp) return 0; } -static void __maybe_unused sh_eth_select_mii(struct net_device *ndev) +static void sh_eth_select_mii(struct net_device *ndev) { u32 value = 0x0; struct sh_eth_private *mdp = netdev_priv(ndev); @@ -345,7 +345,7 @@ static void __maybe_unused sh_eth_select_mii(struct net_device *ndev) sh_eth_write(ndev, value, RMII_MII); } -static void __maybe_unused sh_eth_set_duplex(struct net_device *ndev) +static void sh_eth_set_duplex(struct net_device *ndev) { struct sh_eth_private *mdp = netdev_priv(ndev); |