From 405e5307d823f02fcc683e87686eb22d0887ef91 Mon Sep 17 00:00:00 2001
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Fri, 22 Feb 2019 13:48:53 +0200
Subject: Remove unnecessary semicolons

The semicolons after the empty for loop statements are not needed.
Remove them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 yavta.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/yavta.c b/yavta.c
index bcdcddb..f83e143 100644
--- a/yavta.c
+++ b/yavta.c
@@ -1447,7 +1447,7 @@ static int video_parse_control_array(const struct v4l2_query_ext_ctrl *query,
 	char *endptr;
 	__u32 value;
 
-	for ( ; isspace(*val); ++val) { };
+	for ( ; isspace(*val); ++val) { }
 
 	if (*val == '<') {
 		/* Read the control value from the given file. */
@@ -1477,7 +1477,7 @@ static int video_parse_control_array(const struct v4l2_query_ext_ctrl *query,
 		return -EINVAL;
 
 	for (i = 0; i < query->elems; ++i) {
-		for ( ; isspace(*val); ++val) { };
+		for ( ; isspace(*val); ++val) { }
 
 		switch (query->type) {
 		case V4L2_CTRL_TYPE_U8:
@@ -1504,7 +1504,7 @@ static int video_parse_control_array(const struct v4l2_query_ext_ctrl *query,
 		}
 
 		val = endptr;
-		for ( ; isspace(*val); ++val) { };
+		for ( ; isspace(*val); ++val) { }
 		if (*val != ',')
 			break;
 		val++;
@@ -1513,11 +1513,11 @@ static int video_parse_control_array(const struct v4l2_query_ext_ctrl *query,
 	if (i < query->elems - 1)
 		return -EINVAL;
 
-	for ( ; isspace(*val); ++val) { };
+	for ( ; isspace(*val); ++val) { }
 	if (*val++ != '}')
 		return -EINVAL;
 
-	for ( ; isspace(*val); ++val) { };
+	for ( ; isspace(*val); ++val) { }
 	if (*val++ != '\0')
 		return -EINVAL;
 
-- 
cgit v1.2.3