Skip to contentSkip to conversation

tools: gpioset: remove pointless whitespace

PATCH In review Kent Gibson 2 participants 3 messages Dec 7, 2022 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: gpioset: remove pointless whitespace

Remove pointless whitespace in interact().

---
 tools/gpioset.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
tools/gpioset.c +1 -2
index c49d229..68b3922 100644
@@ -842,8 +842,7 @@ static void interact(struct gpiod_line_request **requests,
 		}
 
 		printf("unknown command: '%s'\n", words[0]);
-		printf("Try the 'help' command\n")
-			;
+		printf("Try the 'help' command\n");
 
 cmd_ok:
 		for (i = 0; isspace(line[i]); i++)
Signature · 1 line
2.38.1
#1 lore raw
Quoted 23 lines · Kent Gibson

Remove pointless whitespace in interact().

---
 tools/gpioset.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
tools/gpioset.c +1 -3
index c49d229..68b3922 100644
@@ -842,8 +842,7 @@ static void interact(struct gpiod_line_request **requests,
                }
 
                printf("unknown command: '%s'\n", words[0]);
-               printf("Try the 'help' command\n")
-                       ;
+               printf("Try the 'help' command\n");
 
 cmd_ok:
                for (i = 0; isspace(line[i]); i++)
--
Quoted 2 lines

2.38.1

I've already fixed that automatically with my clang-format sweep of the tree, thanks!

Bart

#2 lore raw
Quoted 21 lines · Bartosz Golaszewski
Quoted 20 lines · Kent Gibson

Remove pointless whitespace in interact().

---
 tools/gpioset.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
tools/gpioset.c +1 -2
index c49d229..68b3922 100644
@@ -842,8 +842,7 @@ static void interact(struct gpiod_line_request **requests,
                }
 
                printf("unknown command: '%s'\n", words[0]);
-               printf("Try the 'help' command\n")
-                       ;
+               printf("Try the 'help' command\n");
 
Quoted 9 lines
Quoted 5 lines
tools/gpioset.c +0 -1
 cmd_ok:
                for (i = 0; isspace(line[i]); i++)
--

2.38.1

I've already fixed that automatically with my clang-format sweep of the tree, thanks!

Haha, so you have. Nice.

Cheers,
Kent.