WSL2-Linux-Kernel/drivers/staging
Florian Westphal 4d0e965732 drivers: replace dev->trans_start accesses with dev_trans_start
a trans_start struct member exists twice:
- in struct net_device (legacy)
- in struct netdev_queue

Instead of open-coding dev->trans_start usage to obtain the current
trans_start value, use dev_trans_start() instead.

This is not exactly the same, as dev_trans_start also considers
the trans_start values of the netdev queues owned by the device
and provides the most recent one.

For legacy devices this doesn't matter as dev_trans_start can cope
with netdev trans_start values of 0 (they are ignored).

This is a prerequisite to eventual removal of dev->trans_start.

Cc: linux-rdma@vger.kernel.org
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-04 14:16:47 -04:00
..
android Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2016-03-25 08:48:31 -07:00
board
clocking-wizard
comedi staging: comedi: ni_mio_common: fix the ni_write[blw]() functions 2016-03-22 22:22:13 -04:00
dgnc
emxx_udc
fbtft
fsl-mc staging: fsl-mc: fix incorrect type passed to dev_err macros 2016-03-22 22:22:13 -04:00
fwserial
gdm724x
goldfish
gs_fpgaboot
i4l
iio
lustre mm, fs: remove remaining PAGE_CACHE_* and page_cache_{get,release} usage 2016-04-04 10:41:08 -07:00
media [media] davinci_vpfe: Revert "staging: media: davinci_vpfe: remove,unnecessary ret variable" 2016-04-20 16:00:59 -03:00
most staging: most: hdm-dim2: Remove possible dereference error 2016-03-22 22:22:13 -04:00
mt29f_spinand MTD updates for v4.6 2016-03-24 19:57:15 -07:00
netlogic
nvec
octeon
octeon-usb
olpc_dcon Revert "Staging: olpc_dcon: Remove obsolete driver" 2016-04-04 13:52:35 -07:00
rdma Final set of -rc fixes for 4.6 2016-04-29 17:07:54 -07:00
rtl8188eu staging: rtl8188eu: Convert to using IFF_NO_QUEUE 2016-04-16 22:02:13 -04:00
rtl8192e drivers: replace dev->trans_start accesses with dev_trans_start 2016-05-04 14:16:47 -04:00
rtl8192u drivers: replace dev->trans_start accesses with dev_trans_start 2016-05-04 14:16:47 -04:00
rtl8712 staging: refresh TODO for rtl8712 2016-03-22 22:22:13 -04:00
rtl8723au cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
rts5208
skein
slicoss
sm750fb
speakup
unisys
vme
vt6655 cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
vt6656 cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
wilc1000 cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
wlan-ng cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
xgifb
Kconfig Revert "Staging: olpc_dcon: Remove obsolete driver" 2016-04-04 13:52:35 -07:00
Makefile Revert "Staging: olpc_dcon: Remove obsolete driver" 2016-04-04 13:52:35 -07:00