mirror of https://gitee.com/openkylin/linux.git
powercap/intel_rapl: remove unneeded semicolon
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>
This commit is contained in:
parent
3cea11cd5e
commit
a8193af7ec
|
@ -620,7 +620,7 @@ static u64 rapl_unit_xlate(struct rapl_domain *rd, enum unit_type type,
|
||||||
case ARBITRARY_UNIT:
|
case ARBITRARY_UNIT:
|
||||||
default:
|
default:
|
||||||
return value;
|
return value;
|
||||||
};
|
}
|
||||||
|
|
||||||
if (to_raw)
|
if (to_raw)
|
||||||
return div64_u64(value, units) * scale;
|
return div64_u64(value, units) * scale;
|
||||||
|
|
Loading…
Reference in New Issue