diff options
author | Dmitry Kandybka <[email protected]> | 2024-10-03 12:59:12 +0300 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2024-10-08 21:52:15 +0200 |
commit | 484bd64bdc2721224e90e131607398e546cf84b1 (patch) | |
tree | 3b7246151fe58f71fcea397cae01b6a3a20354d4 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | b0b6646a9d680c1d865ef308d84de98e28df9963 (diff) |
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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions