projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cea11c
)
powercap/intel_rapl: remove unneeded semicolon
author
Tom Rix
<trix@redhat.com>
Sun, 1 Nov 2020 14:11:29 +0000
(06:11 -0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 2 Nov 2020 17:04:34 +0000
(18:04 +0100)
A semicolon is not needed after a switch statement.
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl_common.c
patch
|
blob
|
history
diff --git
a/drivers/powercap/intel_rapl_common.c
b/drivers/powercap/intel_rapl_common.c
index
0b2830e
..
70d6d52
100644
(file)
--- a/
drivers/powercap/intel_rapl_common.c
+++ b/
drivers/powercap/intel_rapl_common.c
@@
-620,7
+620,7
@@
static u64 rapl_unit_xlate(struct rapl_domain *rd, enum unit_type type,
case ARBITRARY_UNIT:
default:
return value;
- }
;
+ }
if (to_raw)
return div64_u64(value, units) * scale;