]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: mac80211: use local ml_basic_elem in parsing
authorJohannes Berg <johannes.berg@intel.com>
Fri, 29 May 2026 08:24:59 +0000 (10:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jun 2026 12:11:57 +0000 (14:11 +0200)
commitc93db0bfff162b01fae17a674ff2bd3ae8ec37d3
treef1362073a88e8a41c2e668b5ce98fe9ced425101
parent32e223198539bd8be5a84764df869f88bc56f25b
wifi: mac80211: use local ml_basic_elem in parsing

There's no need to store this pointer on the heap, it's
only used in a single function. Move it there. Also
clarify the comment referencing it, ml_basic_elem is
not actually relevant (any more.)

Link: https://patch.msgid.link/20260529102644.50187b7a6ca2.Ifef23bda96651eed0f5cd2c3ecd4817d2fb08af4@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/parse.c