]> 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)
commit3a6cbd4ff2455126cbf47c18edff2cecf20bc3df
treea53fba45403109531e5f2243cfc8a2e5f9952555
parent6f4c9f3c02e90a9014c004decd03983be25044ea
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