net: remove dev->trans_start
authorFlorian Westphal <fw@strlen.de>
Tue, 3 May 2016 14:33:14 +0000 (16:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2016 18:16:50 +0000 (14:16 -0400)
commit9b36627acecd5792e81daf1a3bff8eab39ed45fb
tree697d25e26da4437eb1421298a21e63ea56f64453
parent860e9538a9482bb84589f7d0718a7e6d0a944d58
net: remove dev->trans_start

previous patches removed all direct accesses to dev->trans_start,
so change the netif_trans_update helper to update trans_start of
netdev queue 0 instead and then remove trans_start from struct net_device.

AFAICS a lot of the netif_trans_update() invocations are now useless
because they occur in ndo_start_xmit and driver doesn't set LLTX
(i.e. stack already took care of the update).

As I can't test any of them it seems better to just leave them alone.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_main.c
include/linux/netdevice.h
net/sched/sch_generic.c