diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-08-24 14:36:54 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-08-26 15:12:27 +0200 |
commit | b72067c64b226fc42fd5262cfbb675ec68fb4934 (patch) | |
tree | f7d72b03ccd014c044cc87588821efa3cce7611d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8ebcb6c94c712ee15679c8ee6a40598077b9a9af (diff) |
platform/x86: asus-wmi: Delete impossible condition
The "asus->throttle_thermal_policy_mode" variable is a u8 so it can't
be negative. And we always verify that the value is valid before
setting the policy mode so there is no need to check again here.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20210824113654.GA31143@kili
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions