wifi: mac80211: chan: chandef is non-NULL for reserved
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jan 2024 18:34:39 +0000 (19:34 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Feb 2024 11:58:38 +0000 (12:58 +0100)
commit9bf7079bc2271321fac467cae981c44e495b76b9
treef7c21ec872ca5c29d0cf8805ce2fcafc1ecb0f19
parent0a44dfc070749514b804ccac0b1fd38718f7daa1
wifi: mac80211: chan: chandef is non-NULL for reserved

The last caller of this with a NULL argument was related to
the non-chanctx code, so we can now remove this odd logic.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240129194108.bad8ec1e76c8.I12287452f42c54baf75821e75491cf6d021af20a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c