summaryrefslogtreecommitdiff
path: root/tools/power/cpupower/utils/cpupower-set.c
diff options
context:
space:
mode:
authorZou Wei <zou_wei@huawei.com>2020-04-28 17:43:15 +0800
committerShuah Khan <skhan@linuxfoundation.org>2020-05-08 10:13:26 -0600
commit7b0bf99b9ee497cc0f079472566aff716d033d43 (patch)
treea18f2b9f37e2ff42227e828d63b88838069c2469 /tools/power/cpupower/utils/cpupower-set.c
parent0e698dfa282211e414076f9dc7e83c1c288314fd (diff)
downloadlwn-7b0bf99b9ee497cc0f079472566aff716d033d43.tar.gz
lwn-7b0bf99b9ee497cc0f079472566aff716d033d43.zip
cpupower: Remove unneeded semicolon
Fixes coccicheck warnings: tools/power/cpupower/utils/cpupower-info.c:65:2-3: Unneeded semicolon tools/power/cpupower/utils/cpupower-set.c:75:2-3: Unneeded semicolon tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c:120:2-3: Unneeded semicolon tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c:175:2-3: Unneeded semicolon tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c:56:2-3: Unneeded semicolon tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c:75:2-3: Unneeded semicolon tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c:82:2-3: Unneeded semicolon tools/power/cpupower/utils/idle_monitor/nhm_idle.c:94:2-3: Unneeded semicolon tools/power/cpupower/utils/idle_monitor/snb_idle.c:80:2-3: Unneeded semicolon Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zou Wei <zou_wei@huawei.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/power/cpupower/utils/cpupower-set.c')
-rw-r--r--tools/power/cpupower/utils/cpupower-set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/cpupower/utils/cpupower-set.c b/tools/power/cpupower/utils/cpupower-set.c
index 3cca6f715dd9..052044d7e012 100644
--- a/tools/power/cpupower/utils/cpupower-set.c
+++ b/tools/power/cpupower/utils/cpupower-set.c
@@ -72,7 +72,7 @@ int cmd_set(int argc, char **argv)
default:
print_wrong_arg_exit();
}
- };
+ }
if (!params.params)
print_wrong_arg_exit();