staging: unisys: Remove trans_start
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>
This commit is contained in:
parent
f6346ad662
commit
a42ba26cca
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user