projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
942df4b
)
s390/cpumf: remove unneeded semicolon
author
Jiapeng Chong
<jiapeng.chong@linux.alibaba.com>
Thu, 25 Feb 2021 06:15:36 +0000
(14:15 +0800)
committer
Heiko Carstens
<hca@linux.ibm.com>
Mon, 8 Mar 2021 09:46:29 +0000
(10:46 +0100)
Fix the following coccicheck warnings:
./arch/s390/kernel/perf_cpum_cf.c:272:2-3: Unneeded semicolon.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Link:
https://lore.kernel.org/r/1614233736-87331-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/perf_cpum_cf.c
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/perf_cpum_cf.c
b/arch/s390/kernel/perf_cpum_cf.c
index 0eb1d1cc53a88380421468f5daa6ec1f842328e2..b3beef64d3d48776667c5d8d851d83ff98f545d2 100644
(file)
--- a/
arch/s390/kernel/perf_cpum_cf.c
+++ b/
arch/s390/kernel/perf_cpum_cf.c
@@
-269,7
+269,7
@@
static int __hw_perf_event_init(struct perf_event *event, unsigned int type)
case CPUMF_CTR_SET_MAX:
/* The counter could not be associated to a counter set */
return -EINVAL;
- }
;
+ }
/* Initialize for using the CPU-measurement counter facility */
if (!atomic_inc_not_zero(&num_events)) {