diff options
author | stephen hemminger <stephen@networkplumber.org> | 2013-12-30 22:38:57 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-02 08:42:19 +0400 |
commit | 47d1f71f56bd397bfa09c6b2a595991d1dd9c489 (patch) | |
tree | 19ade6a86b0d9b3f18ed6ec29bd06cb139586cd4 /drivers/net/ethernet/stmicro/stmmac/stmmac.h | |
parent | 8e769788b31438ceb245960a72bec8ed51eb04b2 (diff) | |
download | linux-47d1f71f56bd397bfa09c6b2a595991d1dd9c489.tar.xz |
stmicro: make local variables static
Make variables only used in one file static. Also avoids possible
namespace collisions.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac.h b/drivers/net/ethernet/stmicro/stmmac/stmmac.h index 22f89ffdfd95..92be6b3fe547 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac.h +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac.h @@ -108,8 +108,6 @@ struct stmmac_priv { spinlock_t ptp_lock; }; -extern int phyaddr; - int stmmac_mdio_unregister(struct net_device *ndev); int stmmac_mdio_register(struct net_device *ndev); void stmmac_set_ethtool_ops(struct net_device *netdev); |