From: Neil Horman <nhor...@redhat.com>

dev_trans_start does this for us now

Signed-off-by: Neil Horman <nhor...@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.ro...@unisys.com>
---
 drivers/staging/unisys/visornic/visornic_main.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/staging/unisys/visornic/visornic_main.c 
b/drivers/staging/unisys/visornic/visornic_main.c
index 8cc9017..37f3e27 100644
--- a/drivers/staging/unisys/visornic/visornic_main.c
+++ b/drivers/staging/unisys/visornic/visornic_main.c
@@ -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;
-- 
2.1.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to