diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2019-08-30 14:24:50 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-09-11 09:33:28 +0200 |
commit | 753a9a729f84e22b3726f5bf61e1a9b59712d04f (patch) | |
tree | 0b1fa363fe0b2111250caf7000a768bbb518d7d4 /net/nfc | |
parent | 624ff4b210ecccb0a39387993302b1a6af74176e (diff) |
mac80211: don't check if key is NULL in ieee80211_key_link()
We already assume that key is not NULL and dereference it in a few
other places before we check whether it is NULL, so the check is
unnecessary. Remove it.
Fixes: 96fc6efb9ad9 ("mac80211: IEEE 802.11 Extended Key ID support")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/20190830112451.21655-8-luca@coelho.fi
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions