diff options
author | David S. Miller <davem@davemloft.net> | 2014-08-22 16:21:53 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-24 23:02:45 -0700 |
commit | 4798248e4e023170e937a65a1d30fcc52496dd42 (patch) | |
tree | c043fec145a1c2035f4c9e4ff7b4fbedc07bb1d5 /net/core/netpoll.c | |
parent | 4c83acbc565d53296f1731034c5041a0fbabcaeb (diff) | |
download | linux-stable-4798248e4e023170e937a65a1d30fcc52496dd42.tar.gz linux-stable-4798248e4e023170e937a65a1d30fcc52496dd42.tar.bz2 linux-stable-4798248e4e023170e937a65a1d30fcc52496dd42.zip |
net: Add ops->ndo_xmit_flush()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/netpoll.c')
-rw-r--r-- | net/core/netpoll.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index 907fb5e36c02..a5ad06828d67 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c @@ -72,7 +72,6 @@ module_param(carrier_timeout, uint, 0644); static int netpoll_start_xmit(struct sk_buff *skb, struct net_device *dev, struct netdev_queue *txq) { - const struct net_device_ops *ops = dev->netdev_ops; int status = NETDEV_TX_OK; netdev_features_t features; @@ -92,7 +91,7 @@ static int netpoll_start_xmit(struct sk_buff *skb, struct net_device *dev, skb->vlan_tci = 0; } - status = ops->ndo_start_xmit(skb, dev); + status = netdev_start_xmit(skb, dev); if (status == NETDEV_TX_OK) txq_trans_update(txq); |