]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mac80211: Remove unused basic_rates variable
authorBenjamin Berg <benjamin.berg@intel.com>
Wed, 1 Jan 2025 05:05:29 +0000 (07:05 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 14:26:44 +0000 (15:26 +0100)
commitc30e9a8558815888e94f9890c9adcad09135ffd4
treea568e96185dd4230e1f924fcd13b54fc0da81773
parent00e3daadfe1046fae06960d9ff9d0497b35c1e89
wifi: mac80211: Remove unused basic_rates variable

The basic_rates variable was passed to mesh_sta_info_init as an out
parameter even though the result is not used. Passing NULL instead is
safe here, so do that.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250101070249.23a86a9bad0c.If79bc2c1c98d01cfb4c7e93c18b198fe6c6ea44c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c