]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: iwlegacy: 3945-rs: remove redundant pointer check in il3945_rs_tx_status()...
authorTuo Li <islituo@gmail.com>
Sun, 11 Jan 2026 17:11:18 +0000 (01:11 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 12 Jan 2026 18:42:49 +0000 (19:42 +0100)
commit710b9195ab125d51d746ab3080eb9ce769188d4b
tree47631877efdfded85b8807238c3b65c09aa49916
parent33821a2b20b96886e8821ab7cd75b9e26c41b43d
wifi: iwlegacy: 3945-rs: remove redundant pointer check in il3945_rs_tx_status() and il3945_rs_get_rate()

The variable il_sta passed into these two functions cannot be NULL, so
remove the related null checks.

Signed-off-by: Tuo Li <islituo@gmail.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Link: https://patch.msgid.link/20260111171118.203249-1-islituo@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlegacy/3945-rs.c