mac80211: remove unnecessary key condition
authorJohannes Berg <johannes.berg@intel.com>
Fri, 30 Aug 2019 11:24:48 +0000 (14:24 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 11 Sep 2019 07:33:28 +0000 (09:33 +0200)
commit1c9559734eca3dc03a4c805fbf5103349d7a7cf3
treea53fba45403109531e5f2243cfc8a2e5f9952555
parent5462632488453d170b918a0a95688125d5558289
mac80211: remove unnecessary key condition

When we reach this point, the key cannot be NULL. Remove the condition
that suggests otherwise.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/20190830112451.21655-6-luca@coelho.fi
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/key.c