netdev: convert pseudo drivers to netdev_tx_t
These are all drivers that don't touch real hardware. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6518bbb803
commit
424efe9caf
@@ -358,7 +358,7 @@ static int tun_net_close(struct net_device *dev)
|
||||
}
|
||||
|
||||
/* Net device start xmit */
|
||||
static int tun_net_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
static netdev_tx_t tun_net_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
{
|
||||
struct tun_struct *tun = netdev_priv(dev);
|
||||
|
||||
|
Reference in New Issue
Block a user