summaryrefslogtreecommitdiffstats
path: root/drivers/powercap/intel_rapl.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@kernel.org>2018-01-17 11:30:34 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-01-17 12:56:24 +0100
commit01857cf7748aef41c20987526d4c12f12b2f04ff (patch)
tree1eeaf2b86613932b730457cdbe59b392427d41f7 /drivers/powercap/intel_rapl.c
parentpowercap: add suspend and resume mechanism for SOC power limit (diff)
downloadlinux-01857cf7748aef41c20987526d4c12f12b2f04ff.tar.xz
linux-01857cf7748aef41c20987526d4c12f12b2f04ff.zip
powercap: intel_rapl: Fix trailing semicolon
The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything. Signed-off-by: Luis de Bethencourt <luisbg@kernel.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/powercap/intel_rapl.c')
-rw-r--r--drivers/powercap/intel_rapl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c
index 0188cff98cdd..35636e1d8a3d 100644
--- a/drivers/powercap/intel_rapl.c
+++ b/drivers/powercap/intel_rapl.c
@@ -1211,7 +1211,7 @@ static int rapl_package_register_powercap(struct rapl_package *rp)
struct rapl_domain *rd;
char dev_name[17]; /* max domain name = 7 + 1 + 8 for int + 1 for null*/
struct powercap_zone *power_zone = NULL;
- int nr_pl, ret;;
+ int nr_pl, ret;
/* Update the domain data of the new package */
rapl_update_domain_data(rp);