net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions
This patch is the result of an automatic spatch transformation to convert all ndo_start_xmit() return values of 0 to NETDEV_TX_OK. Some occurences are missed by the automatic conversion, those will be handled in a seperate patch. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Šī revīzija ir iekļauta:

revīziju iesūtīja
David S. Miller

vecāks
0e8635a8e1
revīzija
6ed106549d
@@ -1000,7 +1000,7 @@ vxge_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
VXGE_COMPLETE_VPATH_TX(fifo);
|
||||
vxge_debug_entryexit(VXGE_TRACE, "%s: %s:%d Exiting...",
|
||||
dev->name, __func__, __LINE__);
|
||||
return 0;
|
||||
return NETDEV_TX_OK;
|
||||
|
||||
_exit0:
|
||||
vxge_debug_tx(VXGE_TRACE, "%s: pci_map_page failed", dev->name);
|
||||
@@ -1024,7 +1024,7 @@ _exit2:
|
||||
spin_unlock_irqrestore(&fifo->tx_lock, flags);
|
||||
VXGE_COMPLETE_VPATH_TX(fifo);
|
||||
|
||||
return 0;
|
||||
return NETDEV_TX_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user