diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 4b4207ebd5c0be3a075ecc2e4b4541ed3b6a3d5b..1eeb019d85a301aef3f67c1a6e6cdab91042b3e8 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -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)