diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-08-28 08:26:28 +0200 |
---|---|---|
committer | Lennert Buytenhek <buytenh@marvell.com> | 2008-09-14 14:09:05 +0200 |
commit | 8fd89211bf8e8e60415c66e5546c1478f5e8bc2b (patch) | |
tree | 4600b72d8fec487f2e90d45a369bce52dc306eef /drivers/acpi/thermal.c | |
parent | 1fa38c586e92cce4ce06bfc08ad3134b8445170b (diff) |
mv643xx_eth: switch to netif tx queue lock, get rid of private spinlock
Since our ->hard_start_xmit() method is already called under spinlock
protection (the netif tx queue lock), we can simply make that lock
cover the private transmit state (descriptor ring indexes et al.) as
well, which avoids having to use a private lock to protect that state.
Since this was the last user of the driver-private spinlock, it can
be killed off.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'drivers/acpi/thermal.c')
0 files changed, 0 insertions, 0 deletions