mac80211: remove useless ieee80211_vif_is_mesh() check
authorBaligh Gasmi <gasmibal@gmail.com>
Thu, 3 Feb 2022 15:30:34 +0000 (16:30 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Feb 2022 15:27:07 +0000 (16:27 +0100)
commit45d33746d2f2dd45d9b471e4d1ccb27e337fd2e8
treef36ac6ba26d98aa9a62e59652523b8399595b23f
parentea5907db2a9ccf37fdb6d1e67bcb620c1fea10f8
mac80211: remove useless ieee80211_vif_is_mesh() check

We check ieee80211_vif_is_mesh() at the top if() block,
there's no need to check for it again.

Signed-off-by: Baligh Gasmi <gasmibal@gmail.com>
Link: https://lore.kernel.org/r/20220203153035.198697-1-gasmibal@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c