diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-31 15:50:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-01 04:13:40 -0400 |
commit | 424efe9caf6047ffbcd6b383ff4d2347254aabf1 (patch) | |
tree | d0ed516baa5b452ed8bc3a88fbd061f6e415bfb9 /drivers/net/virtio_net.c | |
parent | 6518bbb803fe02b15a3211c8db2afdff0ac4f808 (diff) |
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>
Diffstat (limited to 'drivers/net/virtio_net.c')
-rw-r--r-- | drivers/net/virtio_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index a6f903f00924..31279c4c02c2 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c | |||
@@ -519,7 +519,7 @@ static void xmit_tasklet(unsigned long data) | |||
519 | netif_tx_unlock_bh(vi->dev); | 519 | netif_tx_unlock_bh(vi->dev); |
520 | } | 520 | } |
521 | 521 | ||
522 | static int start_xmit(struct sk_buff *skb, struct net_device *dev) | 522 | static netdev_tx_t start_xmit(struct sk_buff *skb, struct net_device *dev) |
523 | { | 523 | { |
524 | struct virtnet_info *vi = netdev_priv(dev); | 524 | struct virtnet_info *vi = netdev_priv(dev); |
525 | 525 | ||