Skip to content

Commit

Permalink
net: fixup type in netdev_start_xmit()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed Nov 25, 2018
1 parent b1bf78b commit 2183435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
const struct net_device_ops *ops = dev->netdev_ops;
int rc;
netdev_tx_t rc;

rc = __netdev_start_xmit(ops, skb, dev, more);
if (rc == NETDEV_TX_OK)
Expand Down

0 comments on commit 2183435

Please sign in to comment.