diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-15 18:08:50 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-16 04:14:09 +0100 |
commit | 26eeb0f8ad554b1fa08d58080da8ce2d22081c1c (patch) | |
tree | 2b960b57e2175c94a852ca52e1c0db4abd1a69fb /src/cpu/intel/speedstep | |
parent | 73a28942031675fce20d6649d2c2ce66fe62f416 (diff) | |
download | coreboot-26eeb0f8ad554b1fa08d58080da8ce2d22081c1c.tar.xz |
cpu/intel: Fix brace issues detected by checkpatch.pl
Fix the following error and warning detected by checkpatch.pl:
ERROR: that open brace { should be on the previous line
WARNING: braces {} are not necessary for single statement blocks
TEST=Build and run on Galileo Gen2
Change-Id: Icdd6bd9ae578589b4d42002d200fa8f83920265e
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18849
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/cpu/intel/speedstep')
-rw-r--r-- | src/cpu/intel/speedstep/acpi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/intel/speedstep/acpi.c b/src/cpu/intel/speedstep/acpi.c index b6e29adde9..f801307627 100644 --- a/src/cpu/intel/speedstep/acpi.c +++ b/src/cpu/intel/speedstep/acpi.c @@ -33,9 +33,8 @@ static int determine_total_number_of_cores(void) (cpu->bus->dev->path.type != DEVICE_PATH_CPU_CLUSTER)) { continue; } - if (!cpu->enabled) { + if (!cpu->enabled) continue; - } count++; } return count; |