]> git.baikalelectronics.ru Git - kernel.git/commit
atl1c: remove private tx lock
authorFlorian Westphal <fw@strlen.de>
Sun, 24 Apr 2016 19:38:10 +0000 (21:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 19:53:04 +0000 (15:53 -0400)
commit6820bc908b7544173db0b7157cc4ffa19427bf46
tree33943c79cbbc089db059a0e07699507e0339333c
parentfafcf7918b233068e0fec11d5e366f1c4b9f54ee
atl1c: remove private tx lock

AFAICS this is safe: the lock is only used in the .ndo_start_xmit
function and this driver does not set LLTX.

Gets rid of TX_LOCKED return value, followup patches will remove it.

Cc: Jay Cliburn <jcliburn@gmail.com>
Cc: Chris Snook <chris.snook@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1c/atl1c.h
drivers/net/ethernet/atheros/atl1c/atl1c_main.c