]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4cbeb47661c6c6b6179781de2ab86a931497127c
treea53fba45403109531e5f2243cfc8a2e5f9952555
parent964d61b6fd19d9c6fd933be6242e1044f3f0dfac
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