]> 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)
commit22fbb90e82aa5b7015dd14c079ee76f6d66e10c7
tree33943c79cbbc089db059a0e07699507e0339333c
parenta86fe2e35b97e78c4f0b423800e7af387d7ff6cf
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