diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-21 07:50:53 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-24 22:07:12 (GMT) |
commit | 42821a5b393e36f5c0b267473d59d375578df7ec (patch) | |
tree | beeaa5a6ac9211567d9b13687585959a63ba1c8a /drivers/net/vxge/vxge-ethtool.c | |
parent | 89ff05ec553f3e70b8773c501da01bf7ad952cab (diff) | |
download | linux-fsl-qoriq-42821a5b393e36f5c0b267473d59d375578df7ec.tar.xz |
vxge: make functions local and remove dead code
Use results of make namespacecheck to make functions local and
remove code that is not used.
Also rename initialize_ethtool_ops to vxge_initialize_ethtool_ops.
Compile tested only.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxge/vxge-ethtool.c')
-rw-r--r-- | drivers/net/vxge/vxge-ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vxge/vxge-ethtool.c b/drivers/net/vxge/vxge-ethtool.c index 05679e3..b67746e 100644 --- a/drivers/net/vxge/vxge-ethtool.c +++ b/drivers/net/vxge/vxge-ethtool.c @@ -1142,7 +1142,7 @@ static const struct ethtool_ops vxge_ethtool_ops = { .get_ethtool_stats = vxge_get_ethtool_stats, }; -void initialize_ethtool_ops(struct net_device *ndev) +void vxge_initialize_ethtool_ops(struct net_device *ndev) { SET_ETHTOOL_OPS(ndev, &vxge_ethtool_ops); } |