diff options
| author | Dmitry Kandybka <d.kandybka@gmail.com> | 2024-10-03 12:59:12 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2024-10-08 22:52:15 +0300 |
| commit | 484bd64bdc2721224e90e131607398e546cf84b1 (patch) | |
| tree | 3b7246151fe58f71fcea397cae01b6a3a20354d4 /include | |
| parent | b0b6646a9d680c1d865ef308d84de98e28df9963 (diff) | |
| download | linux-484bd64bdc2721224e90e131607398e546cf84b1.tar.xz | |
wifi: nl80211: remove redundant null pointer check in coalescing
In 'cfg80211_free_coalesce', '&coalesce->rules[i]' is a pointer
to VLA member of 'struct cfg80211_coalesce' and should never be NULL,
so redundant check may be dropped.
I think this is correct, but I haven't tested it seriously.
Compile tested only.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Dmitry Kandybka <d.kandybka@gmail.com>
Link: https://patch.msgid.link/20241003095912.218465-1-d.kandybka@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
