Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b724613 authored by Bruce Allan's avatar Bruce Allan Committed by David S. Miller
Browse files

e1000e: remove redundant might_sleep()



Now that mutex_lock() calls might_sleep() the driver doesn't have to here.

Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent de39b752
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -630,8 +630,6 @@ static s32 e1000_acquire_swflag_ich8lan(struct e1000_hw *hw)
	u32 extcnf_ctrl, timeout = PHY_CFG_TIMEOUT;
	s32 ret_val = 0;

	might_sleep();

	mutex_lock(&swflag_mutex);

	while (timeout) {