Skip to content

Commit

Permalink
powercap: intel_rapl: Fix trailing semicolon
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
luisbg authored and rafaeljw committed Jan 17, 2018
1 parent 52b3672 commit 01857cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/powercap/intel_rapl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 01857cf

Please sign in to comment.