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>
This commit is contained in:
@@ -157,9 +157,8 @@ static int install_relocation_handler(int *apic_id_map, int num_cpus,
|
||||
if (smm_setup_relocation_handler(&smm_params))
|
||||
return -1;
|
||||
int i;
|
||||
for (i = 0; i < num_cpus; i++) {
|
||||
for (i = 0; i < num_cpus; i++)
|
||||
smm_params.runtime->apic_id_to_cpu[i] = apic_id_map[i];
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -201,9 +200,8 @@ static int install_permanent_handler(int *apic_id_map, int num_cpus,
|
||||
relo_params->smram_size, &smm_params))
|
||||
return -1;
|
||||
int i;
|
||||
for (i = 0; i < num_cpus; i++) {
|
||||
for (i = 0; i < num_cpus; i++)
|
||||
smm_params.runtime->apic_id_to_cpu[i] = apic_id_map[i];
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user