]> err.no Git - linux-2.6/commit
[TG3]: Remove unnecessary tx_lock
authorMichael Chan <mchan@broadcom.com>
Sun, 18 Jun 2006 04:55:55 +0000 (21:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jun 2006 04:55:55 +0000 (21:55 -0700)
commitc71302d61f844f766a44e1b04258086cc41f624e
tree678780353e025222ce87667466bba599c4c21d97
parent35089bb203f44e33b6bbb6c4de0b0708f9a48921
[TG3]: Remove unnecessary tx_lock

Remove tx_lock where it is unnecessary. tg3 runs lockless and so it
requires interrupts to be disabled and sync'ed, netif_queue and NAPI
poll to be stopped before the device can be reconfigured. After
stopping everything, it is no longer necessary to get the tx_lock.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c