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)
diff --git a/src/lib/jpeg.c b/src/lib/jpeg.c
index 9dc5e13..e6626b8 100644
--- a/src/lib/jpeg.c
+++ b/src/lib/jpeg.c
@@ -931,9 +931,8 @@
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 @@
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 @@
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;