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>
This commit is contained in:
parent
2a2e9d1007
commit
0df1391fee
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
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;
|
*state = mvm->cooling_dev.cur_state;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue