Skip to content

Commit

Permalink
sh_eth: remove '__maybe_unused' annotations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sergei Shtylyov authored and David S. Miller committed Jun 13, 2013
1 parent fe2c633 commit 8e99440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/renesas/sh_eth.c
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 8e99440

Please sign in to comment.