aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power/cpupower/utils/cpupower-info.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-info.c
parentLinux 5.7-rc4 (diff)
downloadlinux-dev-7b0bf99b9ee497cc0f079472566aff716d033d43.tar.xz
linux-dev-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-info.c')
-rw-r--r--tools/power/cpupower/utils/cpupower-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/cpupower/utils/cpupower-info.c b/tools/power/cpupower/utils/cpupower-info.c
index d3755ea70d4d..0ba61a2c4d81 100644
--- a/tools/power/cpupower/utils/cpupower-info.c
+++ b/tools/power/cpupower/utils/cpupower-info.c
@@ -62,7 +62,7 @@ int cmd_info(int argc, char **argv)
default:
print_wrong_arg_exit();
}
- };
+ }
if (!params.params)
params.params = 0x7;