net: fixup type in netdev_start_xmit()
Return code should be formally "netdev_tx_t". Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
b1bf78bfb2
commit
2183435c25
@@ -4373,7 +4373,7 @@ static inline netdev_tx_t netdev_start_xmit(struct sk_buff *skb, struct net_devi
|
|||||||
struct netdev_queue *txq, bool more)
|
struct netdev_queue *txq, bool more)
|
||||||
{
|
{
|
||||||
const struct net_device_ops *ops = dev->netdev_ops;
|
const struct net_device_ops *ops = dev->netdev_ops;
|
||||||
int rc;
|
netdev_tx_t rc;
|
||||||
|
|
||||||
rc = __netdev_start_xmit(ops, skb, dev, more);
|
rc = __netdev_start_xmit(ops, skb, dev, more);
|
||||||
if (rc == NETDEV_TX_OK)
|
if (rc == NETDEV_TX_OK)
|
||||||
|
|||||||
Reference in New Issue
Block a user