summaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/e1000_ethtool.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-10-30 16:53:34 +0100
committerJohn W. Linville <linville@tuxdriver.com>2005-11-05 21:00:01 -0500
commit3ad2cc6798be9388c9a3f1e6180e77690303eb01 (patch)
tree28389b018b626949eb5a6c4b1b0157c94a5f9ed4 /drivers/net/e1000/e1000_ethtool.c
parente9ab1d145365a871858f402f3655cd4939fa38d5 (diff)
downloadblackbird-op-linux-3ad2cc6798be9388c9a3f1e6180e77690303eb01.tar.gz
blackbird-op-linux-3ad2cc6798be9388c9a3f1e6180e77690303eb01.zip
[PATCH] drivers/net/e1000/: possible cleanups
This patch contains the following possible cleanups: - make needlessly global code static - #if 0 the following unused global functions: - e1000_hw.c: e1000_mc_addr_list_update - e1000_hw.c: e1000_read_reg_io - e1000_hw.c: e1000_enable_pciex_master Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/e1000/e1000_ethtool.c')
-rw-r--r--drivers/net/e1000/e1000_ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_ethtool.c b/drivers/net/e1000/e1000_ethtool.c
index 9c7feaeaa6a4..8eae8ba27e84 100644
--- a/drivers/net/e1000/e1000_ethtool.c
+++ b/drivers/net/e1000/e1000_ethtool.c
@@ -1739,7 +1739,7 @@ e1000_get_strings(struct net_device *netdev, uint32_t stringset, uint8_t *data)
}
}
-struct ethtool_ops e1000_ethtool_ops = {
+static struct ethtool_ops e1000_ethtool_ops = {
.get_settings = e1000_get_settings,
.set_settings = e1000_set_settings,
.get_drvinfo = e1000_get_drvinfo,
OpenPOWER on IntegriCloud