From 2f919ec4765e4484d79b866332fa19ec338db5c0 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Wed, 8 Mar 2017 17:37:06 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/18697 Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- src/lib/halt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/halt.c') diff --git a/src/lib/halt.c b/src/lib/halt.c index 8482ef9c45..40232c0ba4 100644 --- a/src/lib/halt.c +++ b/src/lib/halt.c @@ -18,7 +18,6 @@ #include void halt(void) { - while (1) { + while (1) hlt(); - } } -- cgit v1.2.3