]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf6cc96e2f5a0a136e535bcd78336c128085e81ff
tree5c9ffb2dafe2aa7f26b68d16d2ec3eb93311a38a
parentef6387eb9abf46e536b36d7a3d207e649251d3a7
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