Re: [libgpiod][PATCH] tools: gpioset: remove pointless whitespace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 7, 2022 at 10:39 AM Kent Gibson <warthog618@xxxxxxxxx> wrote:
>
> Remove pointless whitespace in interact().
>
> Signed-off-by: Kent Gibson <warthog618@xxxxxxxxx>
> ---
>  tools/gpioset.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/tools/gpioset.c b/tools/gpioset.c
> index c49d229..68b3922 100644
> --- a/tools/gpioset.c
> +++ b/tools/gpioset.c
> @@ -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++)
> --
> 2.38.1
>

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

Bart



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux