Commit a42ba26c authored by Neil Horman's avatar Neil Horman Committed by Greg Kroah-Hartman

staging: unisys: Remove trans_start

dev_trans_start does this for us now
Signed-off-by: default avatarNeil Horman <nhorman@redhat.com>
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f6346ad6
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment