tools: gpioset: remove pointless whitespace
PATCH 1/1 tools: gpioset: remove pointless whitespace
Remove pointless whitespace in interact().
Signed-off-by Kent Gibson <[email protected]>
--- tools/gpioset.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
tools/gpioset.c +1 -2
@@ -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
Quoted 23 lines · Kent Gibson
Remove pointless whitespace in
interact().Signed-off-by Kent Gibson <[email protected]>--- tools/gpioset.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)tools/gpioset.c +1
-3@@ -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
Quoted 21 lines · Bartosz Golaszewski
Quoted 20 lines · Kent Gibson
Remove pointless whitespace in
interact().Signed-off-by Kent Gibson <[email protected]>--- tools/gpioset.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)tools/gpioset.c +1
-2@@ -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
-1cmd_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.