forked from Minki/linux
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>
This commit is contained in:
parent
8d96286ae1
commit
38df7a3949
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user