diff options
author | Chaya Rachel Ivgi <chaya.rachel.ivgi@intel.com> | 2016-03-17 12:01:37 +0100 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2016-03-30 15:21:29 +0200 |
commit | 0df1391feee699a79b36f284fa6e19ab26344d25 (patch) | |
tree | 84ada1873f99e423c1a0477f6b1916309511cebe /drivers/net/wireless/intel/iwlwifi/mvm/tt.c | |
parent | iwlwifi: trans: fix iwl_trans_txq_scd_cfg.sta_id sign (diff) | |
download | linux-0df1391feee699a79b36f284fa6e19ab26344d25.tar.xz linux-0df1391feee699a79b36f284fa6e19ab26344d25.zip |
iwlwifi: mvm: remove uneeded D0I3 checking
The driver can read the current state during D0I3,
therefore there is no reason not to do it.
Signed-off-by: Chaya Rachel Ivgi <chaya.rachel.ivgi@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/tt.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/tt.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/tt.c b/drivers/net/wireless/intel/iwlwifi/mvm/tt.c index 8d27137a9284..3f5df76f65a4 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/tt.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/tt.c @@ -787,9 +787,6 @@ static int iwl_mvm_tcool_get_cur_state(struct thermal_cooling_device *cdev, { struct iwl_mvm *mvm = (struct iwl_mvm *)(cdev->devdata); - if (test_bit(IWL_MVM_STATUS_IN_D0I3, &mvm->status)) - return -EBUSY; - *state = mvm->cooling_dev.cur_state; return 0; |