linux/drivers/staging/wlan-ng
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
..
cfg80211.c staging: wlan-ng: cfg80211: Remove unnecessary parentheses around variables 2016-10-16 10:26:25 +02:00
hfa384x_usb.c net: Remove usage of net_device last_rx member 2017-01-18 17:22:49 -05:00
hfa384x.h staging: wlan-ng: use GENMASK macro in different defines of hfa384x.h 2016-11-14 15:43:20 +01:00
Kconfig
Makefile
p80211conv.c staging: wlan-ng: remove unnecessary out of memory message in p80211conv.c 2016-11-10 13:25:32 +01:00
p80211conv.h staging: wlan-ng: fix block comments style in p80211conv.h 2016-10-16 10:25:49 +02:00
p80211hdr.h staging: wlan-ng: use GENMASK macro in different defines of p80211hdr.h 2016-11-14 15:43:20 +01:00
p80211ioctl.h staging: wlan-ng: fix block comments style in p80211ioctl.h 2016-10-16 10:25:50 +02:00
p80211metadef.h staging: wlan-ng: fix block comments style in p80211metadef.h 2016-10-16 10:25:52 +02:00
p80211metastruct.h staging: wlan-ng: avoid new typedef: p80211item_unk4096_t 2016-09-25 19:54:01 +02:00
p80211mgmt.h staging: wlan-ng: fix block comments style in p80211mgmt.h 2016-10-16 10:25:52 +02:00
p80211msg.h staging: wlan-ng: fix block comments style in p80211msg.h 2016-10-16 10:25:53 +02:00
p80211netdev.c net: Remove usage of net_device last_rx member 2017-01-18 17:22:49 -05:00
p80211netdev.h staging: wlan-ng: use GENMASK macro in define of p80211netdev.h 2016-11-14 15:43:19 +01:00
p80211req.c staging: wlan-ng: match open parenthesis alignment in p80211req.c 2016-11-10 13:25:32 +01:00
p80211req.h staging: wlan-ng: fix block comments style in p80211req.h 2016-10-16 10:25:55 +02:00
p80211types.h staging: wlan-ng: fix block comments style errors 2016-09-25 19:54:45 +02:00
p80211wep.c staging: wlan-ng: remove unnecessary blank lines in p80211wep.c 2016-11-10 13:25:33 +01:00
prism2fw.c staging: wlan-ng: remove unnecessary parenthesis in prism2fw.c 2016-11-10 13:25:33 +01:00
prism2mgmt.c Staging: wlan-ng: prism2mgmt: Fixed operators spacing style issues 2016-11-19 14:21:58 +01:00
prism2mgmt.h staging: wlan-ng: fix block comments style in prism2mgmt.h 2016-10-16 10:25:56 +02:00
prism2mib.c staging: wlan-ng: avoid CamelCase: hfa384x_WPAData 2016-10-25 10:44:22 +02:00
prism2sta.c staging: wlan-ng: use GENMASK macro in two bitwise operations in prism2sta.c 2016-11-14 15:43:19 +01:00
prism2usb.c staging: wlang-ng: avoid new typedef: hfa384x_t 2016-10-02 17:05:56 +02:00
README

TODO:
	- checkpatch.pl cleanups
	- sparse warnings
	- move to use the in-kernel wireless stack

Please send any patches or complaints about this driver to Greg
Kroah-Hartman <greg@kroah.com> and don't bother the upstream wireless
kernel developers about it, they want nothing to do with it.