]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
netxen: drop redudant spinlock
authorDhananjay Phadke <dhananjay@netxen.com>
Fri, 27 Jul 2007 17:42:11 +0000 (23:12 +0530)
committerJeff Garzik <jeff@garzik.org>
Mon, 30 Jul 2007 19:52:00 +0000 (15:52 -0400)
commit2c6a3f72688acbc640b3be8083dac0e90354f0cf
tree72bcc21e9f0d176f7299ddfc2117c1acd7455358
parente01872af1d05cf4327c8e519b14e368b72921ccf
netxen: drop redudant spinlock

Some leftover code that makes use of adapter->lock in tx_timeout function,
which resets the interface under this lock. In close() when the workqueue
is flushed, prints the warning about sleeping with interrupts disabled
(when spinlock debug is enabled). The lock was required with private netxen
IOCTLs, which were removed a while ago.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/netxen/netxen_nic_main.c