linux/drivers/net/wireless/realtek/rtw88
Colin Ian King baff8da6e1 rtw88: remove redundant null pointer check on arrays
The checks to see if swing_table->n or swing_table->p are null are
redundant since n and p are arrays and can never be null if
swing_table is non-null.  I believe these are redundant checks
and can be safely removed, especially the checks implies that these
are not arrays which can lead to confusion.

Addresses-Coverity: ("Array compared against 0")
Fixes: c97ee3e0be ("rtw88: add power tracking support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-10-31 10:04:55 +02:00
..
bf.c rtw88: Enable 802.11ac beamformee support 2019-10-24 08:46:22 +03:00
bf.h rtw88: Enable 802.11ac beamformee support 2019-10-24 08:46:22 +03:00
coex.c rtw88: coex: Set 4 slot mode for A2DP 2019-10-14 12:10:51 +03:00
coex.h rtw88: 8822c: add SW DPK support 2019-09-13 18:03:19 +03:00
debug.c rtw88: add phy_info debugfs to show Tx/Rx physical status 2019-10-24 08:46:25 +03:00
debug.h rtw88: Enable 802.11ac beamformee support 2019-10-24 08:46:22 +03:00
efuse.c
efuse.h
fw.c rtw88: add power tracking support 2019-10-24 08:46:21 +03:00
fw.h rtw88: mark rtw_fw_hdr __packed 2019-10-16 10:35:25 +03:00
hci.h rtw88: add deep power save support 2019-10-02 07:33:46 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mac80211.c rtw88: add set_bitrate_mask support 2019-10-24 08:46:24 +03:00
mac.c rtw88: avoid FW info flood 2019-10-31 10:03:51 +02:00
mac.h rtw88: add NL80211_EXT_FEATURE_CAN_REPLACE_PTK0 support 2019-10-14 12:10:48 +03:00
main.c rtw88: avoid FW info flood 2019-10-31 10:03:51 +02:00
main.h rtw88: add phy_info debugfs to show Tx/Rx physical status 2019-10-24 08:46:25 +03:00
Makefile rtw88: Enable 802.11ac beamformee support 2019-10-24 08:46:22 +03:00
pci.c rtw88: pci: config phy after chip info is setup 2019-10-14 12:10:50 +03:00
pci.h
phy.c rtw88: remove redundant null pointer check on arrays 2019-10-31 10:04:55 +02:00
phy.h rtw88: fix potential read outside array boundary 2019-10-31 10:03:50 +02:00
ps.c rtw88: use a for loop in rtw_power_mode_change(), not goto 2019-10-14 12:11:33 +03:00
ps.h rtw88: check firmware leave lps successfully 2019-10-04 16:44:54 +03:00
reg.h rtw88: Enable 802.11ac beamformee support 2019-10-24 08:46:22 +03:00
regd.c rtw88: update tx power limit table to RF v20 2019-06-27 20:24:27 +03:00
regd.h rtw88: update tx power limit table to RF v20 2019-06-27 20:24:27 +03:00
rtw8822b_table.c rtw88: use rtw_phy_pg_cfg_pair struct, not arrays 2019-10-31 10:03:48 +02:00
rtw8822b_table.h rtw88: 8822b: add RFE type 3 support 2019-10-31 10:03:47 +02:00
rtw8822b.c rtw88: 8822b: add RFE type 3 support 2019-10-31 10:03:47 +02:00
rtw8822b.h rtw88: add phy_info debugfs to show Tx/Rx physical status 2019-10-24 08:46:25 +03:00
rtw8822c_table.c rtw88: use rtw_phy_pg_cfg_pair struct, not arrays 2019-10-31 10:03:48 +02:00
rtw8822c_table.h rtw88: 8822c: add SW DPK support 2019-09-13 18:03:19 +03:00
rtw8822c.c rtw88: fix potential read outside array boundary 2019-10-31 10:03:50 +02:00
rtw8822c.h rtw88: add phy_info debugfs to show Tx/Rx physical status 2019-10-24 08:46:25 +03:00
rx.c rtw88: rearrange if..else statements for rx rate indexes 2019-10-31 10:03:49 +02:00
rx.h rtw88: Don't set RX_FLAG_DECRYPTED if packet has no encryption 2019-10-04 16:45:01 +03:00
sec.c rtw88: add deep PS PG mode for 8822c 2019-10-02 07:33:49 +03:00
sec.h rtw88: add deep PS PG mode for 8822c 2019-10-02 07:33:49 +03:00
tx.c rtw88: take over rate control from mac80211 2019-10-04 16:44:56 +03:00
tx.h rtw88: add driver TX queue support 2019-10-04 16:44:55 +03:00
util.c rtw88: report tx rate to mac80211 stack 2019-10-04 16:44:57 +03:00
util.h