]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iwlwifi: pcie: make ctxt-info free idempotent
authorJohannes Berg <johannes.berg@intel.com>
Wed, 31 May 2017 11:15:18 +0000 (13:15 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 29 Jun 2017 10:26:26 +0000 (13:26 +0300)
commit87fc030231b11a190f16d7162a141e2f162eae36
tree87000e1f377e494c359b32169e647ce9eea2ba38
parent3b37f4c99c93abf2cdde751a536190bde5a1283a
iwlwifi: pcie: make ctxt-info free idempotent

By setting the pointers to NULL at the end, these functions
are made idempotent.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info.c