linux_dsm_epyc7002/drivers/net/irda
Tobias Klauser 4a7c972644 net: Remove usage of net_device last_rx member
The network stack no longer uses the last_rx member of struct net_device
since the bonding driver switched to use its own private last_rx in
commit 9f24273837 ("bonding: use last_arp_rx in slave_last_rx()").

However, some drivers still (ab)use the field for their own purposes and
some driver just update it without actually using it.

Previously, there was an accompanying comment for the last_rx member
added in commit 4dc89133f4 ("net: add a comment on netdev->last_rx")
which asked drivers not to update is, unless really needed. However,
this commend was removed in commit f8ff080dac ("bonding: remove
useless updating of slave->dev->last_rx"), so some drivers added later
on still did update last_rx.

Remove all usage of last_rx and switch three drivers (sky2, atp and
smc91c92_cs) which actually read and write it to use their own private
copy in netdev_priv.

Compile-tested with allyesconfig and allmodconfig on x86 and arm.

Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Jay Vosburgh <j.vosburgh@gmail.com>
Cc: Veaceslav Falico <vfalico@gmail.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Cc: Mirko Lindner <mlindner@marvell.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-18 17:22:49 -05:00
..
act200l-sir.c
actisys-sir.c
ali-ircc.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
ali-ircc.h irda: ali-ircc: Replace timeval with ktime_t 2015-01-11 21:39:40 -05:00
au1k_ir.c irda: Removed all unused timeval variables 2015-01-11 21:39:40 -05:00
bfin_sir.c net: Remove usage of net_device last_rx member 2017-01-18 17:22:49 -05:00
bfin_sir.h net/irda: bfin_sir: remove duplicate defines 2016-01-21 10:45:45 -08:00
donauboe.c
donauboe.h
esi-sir.c
girbil-sir.c
irda-usb.c net: irda: set error code on failures 2016-12-05 14:53:08 -05:00
irda-usb.h irda: irda-usb: Replace timeval with ktime_t 2015-01-11 21:39:40 -05:00
irtty-sir.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
irtty-sir.h
Kconfig irda: sh_irda: remove driver 2016-04-04 16:24:13 -04:00
kingsun-sir.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
ks959-sir.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
ksdazzle-sir.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
litelink-sir.c
ma600-sir.c
Makefile irda: sh_irda: remove driver 2016-04-04 16:24:13 -04:00
mcp2120-sir.c
mcs7780.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
mcs7780.h irda: Removed all unused timeval variables 2015-01-11 21:39:40 -05:00
nsc-ircc.c net: irda: avoid null pointer dereference 2016-05-19 11:30:57 -07:00
nsc-ircc.h irda: nsc-ircc: Replace timeval with ktime_t 2015-01-11 21:39:40 -05:00
old_belkin-sir.c
pxaficp_ir.c net: irda: pxaficp_ir: dmaengine conversion 2015-09-28 22:32:48 -07:00
sa1100_ir.c
sh_sir.c net: Remove usage of net_device last_rx member 2017-01-18 17:22:49 -05:00
sir_dev.c
sir_dongle.c
sir-dev.h
smsc-ircc2.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
smsc-ircc2.h
smsc-sio.h
stir4200.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
tekram-sir.c
toim3232-sir.c irda: toim3232-sir: delete some dead code 2016-01-08 13:25:33 -05:00
via-ircc.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
via-ircc.h irda: Removed all unused timeval variables 2015-01-11 21:39:40 -05:00
vlsi_ir.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
vlsi_ir.h irda: vlsi_ir: Replace timeval with ktime_t 2015-01-11 21:39:40 -05:00
w83977af_ir.c irda: w83977af_ir: cleanup an indent issue 2016-12-17 21:32:58 -05:00
w83977af_ir.h
w83977af.h