coreboot/src/arch
Fabio Aiuto 0805c7010a src/arch/x86/smbios.c: remove unneeded braces
fix the following checkpatch errors:

WARNING:BRACES: braces {} are not necessary for any arm of this statement
354: FILE: src/arch/x86/smbios.c:354:
+	if (CONFIG_ROM_SIZE >= 1 * GiB) {
[...]
+	} else {
[...]

WARNING:BRACES: braces {} are not necessary for single statement blocks
561: FILE: src/arch/x86/smbios.c:561:
+		if (leaf_b_threads == 0) {
+			leaf_b_threads = 1;
+		}

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Change-Id: I14c29e4358cad4cd5ef169ebab7079db2129d8fa
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66925
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
2022-08-24 15:18:06 +00:00
..
arm arm/libgcc: Support signed 64-bit division 2022-08-13 17:20:32 +00:00
arm64 arch/arm64,arm: Prepare for !SEPARATE_ROMSTAGE 2022-07-20 20:28:39 +00:00
ppc64 src/arch/ppc64/*: pass FDT address to payload 2022-02-11 20:18:05 +00:00
riscv commonlib: Substitude macro "__unused" in compiler.h 2022-07-14 23:08:09 +00:00
x86 src/arch/x86/smbios.c: remove unneeded braces 2022-08-24 15:18:06 +00:00