summaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-21 09:50:57 +0200
committerDavid S. Miller <davem@davemloft.net>2010-10-25 00:07:14 +0200
commit38df7a39492d52f4fad484f611f01a01bd8f1e41 (patch)
treeb0f698e0ff0b7027ac05c62c5f7eaae5eecf93d4 /drivers/net/e1000
parentbnx2x: make local function static and remove dead code (diff)
downloadlinux-38df7a39492d52f4fad484f611f01a01bd8f1e41.tar.xz
linux-38df7a39492d52f4fad484f611f01a01bd8f1e41.zip
e1000: make e1000_reinit_safe local
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000')
-rw-r--r--drivers/net/e1000/e1000_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index a117f2a0252e..4686c3983fc3 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -521,7 +521,7 @@ void e1000_down(struct e1000_adapter *adapter)
e1000_clean_all_rx_rings(adapter);
}
-void e1000_reinit_safe(struct e1000_adapter *adapter)
+static void e1000_reinit_safe(struct e1000_adapter *adapter)
{
while (test_and_set_bit(__E1000_RESETTING, &adapter->flags))
msleep(1);