diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-08-31 16:16:11 -0400 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2016-09-19 04:29:34 -0400 |
commit | 8098203f26b4fd4b4ef5281b2e77d49ab6d9a3b4 (patch) | |
tree | 4d286c0b00fdd966cc3ce48cc334b99c74452228 /drivers/net/wireless/intel/iwlwifi/mvm/ops.c | |
parent | 176aa60bf148b5af4209ac323cef941dee76e390 (diff) |
iwlwifi: mvm: use LIST_HEAD() macro
There's no need to declare a list and then init it manually,
just use the LIST_HEAD() macro.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c index 3eccd89b9570..75f3ca0504fd 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c | |||
@@ -858,9 +858,7 @@ static void iwl_mvm_async_handlers_wk(struct work_struct *wk) | |||
858 | struct iwl_mvm *mvm = | 858 | struct iwl_mvm *mvm = |
859 | container_of(wk, struct iwl_mvm, async_handlers_wk); | 859 | container_of(wk, struct iwl_mvm, async_handlers_wk); |
860 | struct iwl_async_handler_entry *entry, *tmp; | 860 | struct iwl_async_handler_entry *entry, *tmp; |
861 | struct list_head local_list; | 861 | LIST_HEAD(local_list); |
862 | |||
863 | INIT_LIST_HEAD(&local_list); | ||
864 | 862 | ||
865 | /* Ensure that we are not in stop flow (check iwl_mvm_mac_stop) */ | 863 | /* Ensure that we are not in stop flow (check iwl_mvm_mac_stop) */ |
866 | 864 | ||