diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-10-30 10:53:34 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2005-11-05 21:00:01 -0500 |
commit | 3ad2cc6798be9388c9a3f1e6180e77690303eb01 (patch) | |
tree | 28389b018b626949eb5a6c4b1b0157c94a5f9ed4 /drivers/net/e1000/e1000_ethtool.c | |
parent | e9ab1d145365a871858f402f3655cd4939fa38d5 (diff) |
[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.c | 2 |
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) | |||
1739 | } | 1739 | } |
1740 | } | 1740 | } |
1741 | 1741 | ||
1742 | struct ethtool_ops e1000_ethtool_ops = { | 1742 | static struct ethtool_ops e1000_ethtool_ops = { |
1743 | .get_settings = e1000_get_settings, | 1743 | .get_settings = e1000_get_settings, |
1744 | .set_settings = e1000_set_settings, | 1744 | .set_settings = e1000_set_settings, |
1745 | .get_drvinfo = e1000_get_drvinfo, | 1745 | .get_drvinfo = e1000_get_drvinfo, |