powercap/intel_rapl: remove unneeded semicolon
authorTom Rix <trix@redhat.com>
Sun, 1 Nov 2020 14:11:29 +0000 (06:11 -0800)
committerRafael 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

index 0b2830e..70d6d52 100644 (file)
@@ -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;