]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: dbg: group trigger condition to helper function
authorSara Sharon <sara.sharon@intel.com>
Tue, 12 Jun 2018 07:41:35 +0000 (10:41 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Sat, 6 Oct 2018 07:25:44 +0000 (10:25 +0300)
commit1e339c2a715f6c17d118cbb40112affd21648a10
tree2f3548dcbaef969672b46810c90137cb0ccf33ad
parenta536ce717694fd0ff313c7f401bce906aacd0c09
iwlwifi: dbg: group trigger condition to helper function

The triplet of get trigger, is trigger enabled and is trigger stopped
repeats itself.  Group them in a function to avoid code duplication.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.h
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
drivers/net/wireless/intel/iwlwifi/mvm/rx.c
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c
drivers/net/wireless/intel/iwlwifi/mvm/tx.c
drivers/net/wireless/intel/iwlwifi/mvm/utils.c