OSDN Git Service

iwlwifi: mvm: remove superfluous flush_work()
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 Nov 2017 09:16:47 +0000 (10:16 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 28 Nov 2017 14:39:57 +0000 (16:39 +0200)
commit9834781cc1ff2e6ce327d9a7ce4901ce30ec7644
tree548e3b911ce718acc22001c4d72b232be9a975f3
parent5cd2d8fc6c6bca979ac5dd8ad0e41153f1f982f9
iwlwifi: mvm: remove superfluous flush_work()

Since iwl_mvm_start_p2p_roc() is only called from iwl_mvm_roc(),
which already flushes the same work item, doing it again in it
is superfluous. Remove it and move the comment to the first one.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c