iwlwifi: mvm: remove check for vif in iwl_mvm_vif_from_mac80211()
authorLuca Coelho <luciano.coelho@intel.com>
Mon, 2 Aug 2021 14:28:22 +0000 (17:28 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Aug 2021 20:33:22 +0000 (23:33 +0300)
commitc1868c0b78892a8b2329dae835786a8a7f643fe2
tree6d831833b3b1874c10542d736c1626f7cf48a962
parent02289645a085eedb55b185da2766b5c6f9492577
iwlwifi: mvm: remove check for vif in iwl_mvm_vif_from_mac80211()

This check is useless, because we would return NULL in that case and
none of the callers actually check that the return value was not NULL
before accessing it.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210802172232.f1c4844a2650.If4dc009e22cda51099a1dc4237d04bf4313055d6@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h