staging: unisys: Remove trans_start
authorNeil Horman <nhorman@redhat.com>
Tue, 21 Jul 2015 13:55:46 +0000 (09:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:20:25 +0000 (21:20 -0700)
dev_trans_start does this for us now

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visornic/visornic_main.c

index 8cc9017..37f3e27 100644 (file)
@@ -932,12 +932,6 @@ visornic_xmit(struct sk_buff *skb, struct net_device *netdev)
        /* Track the skbs that have been sent to the IOVM for XMIT */
        skb_queue_head(&devdata->xmitbufhead, skb);
 
-       /* set the last transmission start time
-        * linux doc says: Do not forget to update netdev->trans_start to
-        * jiffies after each new tx packet is given to the hardware.
-        */
-       netdev->trans_start = jiffies;
-
        /* update xmt stats */
        devdata->net_stats.tx_packets++;
        devdata->net_stats.tx_bytes += skb->len;