drivers: net: use NETDEV_TX_OK instead of NETDEV_TX_LOCKED
authorFlorian Westphal <fw@strlen.de>
Sun, 24 Apr 2016 19:38:12 +0000 (21:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 19:53:05 +0000 (15:53 -0400)
commit926f27300100f4233c7665649f68fcf615f58d68
tree58af43e4fc60545d7d6514e23e4061108561b89d
parent4acff371f2e3f386422253c7fce0092a793ec1a4
drivers: net: use NETDEV_TX_OK instead of NETDEV_TX_LOCKED

These drivers already call netif_stop_queue() so we should not be called
unless tx space is available.  Just free the skb and return TX_OK.

Followup patch will remove NETDEV_TX_LOCKED from the kernel.

Cc: linux-parisc@vger.kernel.org
Cc: linux-hams@vger.kernel.org
Cc: Thomas Sailer <t.sailer@alumni.ethz.ch>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/7990.c
drivers/net/ethernet/amd/a2065.c
drivers/net/ethernet/dec/tulip/de4x5.c
drivers/net/hamradio/baycom_epp.c
drivers/net/hamradio/hdlcdrv.c