src/lib: Remove braces for single statements

Fix the following warning detected by checkpatch.pl:

WARNING: braces {} are not necessary for single statement blocks

TEST=Build and run on Galileo Gen2

Change-Id: Ie4b41f6fb75142ddd75103a55e0347ed85e7e873
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18697
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins)
This commit is contained in:
Lee Leahy
2017-03-08 17:37:06 -08:00
parent b2d834a93a
commit 2f919ec476
10 changed files with 23 additions and 46 deletions

View File

@ -931,9 +931,8 @@ static void col221111(int *out, unsigned char *pic, int width)
outc = out + 64 * 4;
for (i = 2; i > 0; i--) {
for (j = 4; j > 0; j--) {
for (k = 0; k < 8; k++) {
for (k = 0; k < 8; k++)
PIC221111(k);
}
outc += 8;
outy += 16;
pic0 += 2 * width;
@ -956,9 +955,8 @@ static void col221111_16(int *out, unsigned char *pic, int width)
outc = out + 64 * 4;
for (i = 2; i > 0; i--) {
for (j = 4; j > 0; j--) {
for (k = 0; k < 8; k++) {
for (k = 0; k < 8; k++)
PIC221111_16(k);
}
outc += 8;
outy += 16;
pic0 += 2 * width;
@ -981,9 +979,8 @@ static void col221111_32(int *out, unsigned char *pic, int width)
outc = out + 64 * 4;
for (i = 2; i > 0; i--) {
for (j = 4; j > 0; j--) {
for (k = 0; k < 8; k++) {
for (k = 0; k < 8; k++)
PIC221111_32(k);
}
outc += 8;
outy += 16;
pic0 += 2 * width;