Files
linux/net
Dmitry Kandybka 484bd64bdc 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>
2024-10-08 21:52:15 +02:00
..
2024-06-14 19:08:50 -07:00
2024-09-12 20:29:04 -07:00
2024-09-10 12:11:04 +02:00
2023-12-12 14:24:14 +01:00
2024-01-31 16:41:16 -08:00