diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2009-11-20 18:28:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-21 14:34:28 -0500 |
commit | 9b724613c91ce60806ffc689f5032ff258644c6c (patch) | |
tree | a2e6f4f24eb180b5b0615c2ce0dd9d67446b894a /drivers/net/e1000e | |
parent | de39b7523348640f4c0e662e430c67594d858a08 (diff) |
e1000e: remove redundant might_sleep()
Now that mutex_lock() calls might_sleep() the driver doesn't have to here.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e')
-rw-r--r-- | drivers/net/e1000e/ich8lan.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/e1000e/ich8lan.c b/drivers/net/e1000e/ich8lan.c index fe6dc3de9ac7..f991b14a98d3 100644 --- a/drivers/net/e1000e/ich8lan.c +++ b/drivers/net/e1000e/ich8lan.c | |||
@@ -630,8 +630,6 @@ static s32 e1000_acquire_swflag_ich8lan(struct e1000_hw *hw) | |||
630 | u32 extcnf_ctrl, timeout = PHY_CFG_TIMEOUT; | 630 | u32 extcnf_ctrl, timeout = PHY_CFG_TIMEOUT; |
631 | s32 ret_val = 0; | 631 | s32 ret_val = 0; |
632 | 632 | ||
633 | might_sleep(); | ||
634 | |||
635 | mutex_lock(&swflag_mutex); | 633 | mutex_lock(&swflag_mutex); |
636 | 634 | ||
637 | while (timeout) { | 635 | while (timeout) { |