aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-08-24 11:36:54 +0000
committerHans de Goede <[email protected]>2021-08-26 13:12:27 +0000
commitb72067c64b226fc42fd5262cfbb675ec68fb4934 (patch)
treef7d72b03ccd014c044cc87588821efa3cce7611d /fs/ext4/fast_commit.c
parentplatform/x86: hp_accel: Convert to be a platform driver (diff)
downloadkernel-b72067c64b226fc42fd5262cfbb675ec68fb4934.tar.gz
kernel-b72067c64b226fc42fd5262cfbb675ec68fb4934.zip
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 <[email protected]> Link: https://lore.kernel.org/r/20210824113654.GA31143@kili Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions