e1000e: Remove mutex_trylock and associated WARN on failure.
authordave graham <david.graham@intel.com>
Sun, 15 Feb 2009 07:46:10 +0000 (23:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Feb 2009 07:46:10 +0000 (23:46 -0800)
commit0a834a36ac92375cd82d9e4fe4f571e257997d6a
tree5c9ffb2dafe2aa7f26b68d16d2ec3eb93311a38a
parent5e30589521518bff36fd2638b3c3d69679c50436
e1000e: Remove mutex_trylock and associated WARN on failure.

Single-thread access must be ensured for ICH8 NVM and PHY operations.
This synchronization is provided by the nvm_mutex. To assist in
understanding the contexts from which this code could be reached,
a WARN was output if the mutex was not going to be immediately
acquirable (if !mutex_trylock()). The code has now been optimized,
and we have verified that the few remaining mutex contentions are
reasonable and non-blocking, and it is time to remove the
mutex_trylock() and WARN messages.

Signed-off-by: dave graham <david.graham@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/ich8lan.c