From: Lennert Buytenhek Date: Thu, 28 Aug 2008 06:26:28 +0000 (+0200) Subject: mv643xx_eth: switch to netif tx queue lock, get rid of private spinlock X-Git-Tag: v2.6.28-rc1~717^2~194^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fd89211bf8e8e60415c66e5546c1478f5e8bc2b;p=pandora-kernel.git 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 --- Reading git-diff-tree failed