mac80211: minstrel_ht_assign_best_tp_rates: remove redundant test
authorJohannes Berg <johannes.berg@intel.com>
Thu, 26 Mar 2020 13:09:40 +0000 (15:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 24 Apr 2020 10:33:43 +0000 (12:33 +0200)
commitdba25b04c61170cf8592f87df2bb086201047473
tree2a3c653cc13a34d0a466a74a417a58232fd87d88
parent302ff8b7a2b01cfb7645f112bb259af1c146c57a
mac80211: minstrel_ht_assign_best_tp_rates: remove redundant test

We know this pointer isn't NULL and in fact dereferenced it before,
remove the redundant test.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200326150855.adf551928846.Iae9015573d6c350cc1b12a311d6d13d086beec6c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c