summaryrefslogtreecommitdiff
path: root/src/lib/gcov-glue.c
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-08 17:37:06 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-09 17:29:33 +0100
commit2f919ec4765e4484d79b866332fa19ec338db5c0 (patch)
tree1ddb3a7eba06bdd40657c5f63bc8dce322c530a6 /src/lib/gcov-glue.c
parentb2d834a93afe129851f9aa7400f3fb2f42be20a4 (diff)
downloadcoreboot-2f919ec4765e4484d79b866332fa19ec338db5c0.tar.xz
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)
Diffstat (limited to 'src/lib/gcov-glue.c')
-rw-r--r--src/lib/gcov-glue.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/gcov-glue.c b/src/lib/gcov-glue.c
index d200cd2d98..d5e5584e87 100644
--- a/src/lib/gcov-glue.c
+++ b/src/lib/gcov-glue.c
@@ -134,9 +134,8 @@ static void coverage_init(void *unused)
if (ctor == NULL)
return;
- for (; *ctor != (func_ptr) 0; ctor++) {
+ for (; *ctor != (func_ptr) 0; ctor++)
(*ctor)();
- }
}
void __gcov_flush(void);