]> git.baikalelectronics.ru Git - kernel.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)
commit3b7ffe976cbacbc25dd79d1c9ce6e12efb4e6a4d
tree87000e1f377e494c359b32169e647ce9eea2ba38
parent9f583a6c86c5b1cd7829067e8f571c4acded65c7
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