summaryrefslogtreecommitdiff
path: root/src/lib/string.c
diff options
context:
space:
mode:
authorFabio Aiuto <fabioaiuto83@gmail.com>2022-08-19 17:25:25 +0200
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-08-24 15:18:06 +0000
commit0805c7010a5fcfe732a38dfac065b615d577aa4d (patch)
tree60b31c4090d2a24f8ebe5056bb1868fc850cf50f /src/lib/string.c
parentd77525b5bd28011a56194fcb5f8f77bc709dd039 (diff)
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>
Diffstat (limited to 'src/lib/string.c')
0 files changed, 0 insertions, 0 deletions