OpenCloudOS-Kernel/drivers/net/wireless/ath/wil6210
Jason A. Donenfeld 045790b7bc wil6210: account for napi_gro_receive never returning GRO_DROP
The napi_gro_receive function no longer returns GRO_DROP ever, making
handling GRO_DROP dead code. This commit removes that dead code.
Further, it's not even clear that device drivers have any business in
taking action after passing off received packets; that's arguably out of
their hands. In this case, too, the non-gro path didn't bother checking
the return value. Plus, this had some clunky debugging functions that
duplicated code from elsewhere and was generally pretty messy. So, this
commit cleans that all up too.

Fixes: 6570bc79c0 ("net: core: use listified Rx for GRO_NORMAL in napi_gro_receive()")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-25 16:16:21 -07:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile ath: fix SPDX tags 2019-06-26 18:11:06 +03:00
boot_loader.h wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
cfg80211.c wil6210: add support for set_cqm_rssi_config 2019-12-19 18:16:54 +02:00
debug.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
debugfs.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
ethtool.c wil6210: reject unsupported coalescing params 2020-03-06 22:45:55 -08:00
fw.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
fw.h wil6210: Replace zero-length array with flexible-array 2020-05-12 10:35:16 +03:00
fw_inc.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
interrupt.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
main.c wil6210: use true,false for bool variable 2020-01-26 12:19:14 +02:00
netdev.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
p2p.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
pcie_bus.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
pm.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
pmc.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
pmc.h wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
rx_reorder.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
trace.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
trace.h wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
txrx.c wil6210: account for napi_gro_receive never returning GRO_DROP 2020-06-25 16:16:21 -07:00
txrx.h wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
txrx_edma.c wil6210: dump Rx status message on errors 2019-12-19 18:15:32 +02:00
txrx_edma.h wil6210: fix MID valid bits in Rx status message 2019-12-19 18:16:31 +02:00
wil6210.h wil6210: add support for set_cqm_rssi_config 2019-12-19 18:16:54 +02:00
wil_crash_dump.c wil6210: take mem_lock for writing in crash dump collection 2019-12-19 18:15:56 +02:00
wil_platform.c wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
wil_platform.h wil6210: add SPDX license identifiers 2019-10-31 10:16:10 +02:00
wmi.c wil6210: Replace zero-length array with flexible-array 2020-05-12 10:35:16 +03:00
wmi.h wil6210: Replace zero-length array with flexible-array 2020-05-12 10:35:16 +03:00