obmc-console: Fix readability-braces-around-statements

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I88d2bdcb15106298d83a1cf7176e069092820f1d
diff --git a/log-handler.c b/log-handler.c
index 1212b52..5b17c94 100644
--- a/log-handler.c
+++ b/log-handler.c
@@ -84,13 +84,15 @@
 
 	if (lh->size + len > lh->maxsize) {
 		rc = log_trim(lh);
-		if (rc)
+		if (rc) {
 			return rc;
+		}
 	}
 
 	rc = write_buf_to_fd(lh->fd, buf, len);
-	if (rc)
+	if (rc) {
 		return rc;
+	}
 
 	lh->size += len;
 
@@ -109,12 +111,14 @@
 	 * commit straight away. */
 	for (;;) {
 		len = ringbuffer_dequeue_peek(lh->rbc, 0, &buf);
-		if (!len)
+		if (!len) {
 			break;
+		}
 
 		rc = log_data(lh, buf, len);
-		if (rc)
+		if (rc) {
 			return RINGBUFFER_POLL_REMOVE;
+		}
 
 		ringbuffer_dequeue_commit(lh->rbc, len);
 	}
@@ -146,8 +150,9 @@
 	lh->maxsize = logsize <= lh->pagesize ? lh->pagesize + 1 : logsize;
 
 	filename = config_get_value(config, "logfile");
-	if (!filename)
+	if (!filename) {
 		filename = default_filename;
+	}
 
 	lh->fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, 0644);
 	if (lh->fd < 0) {