diff mbox series

[RESEND,04/13] block/io_uring: Remove superfluous semicolon

Message ID 20200218094402.26625-5-philmd@redhat.com (mailing list archive)
State New, archived
Headers show
Series trivial: Detect and remove superfluous semicolons in C code | expand

Commit Message

Philippe Mathieu-Daudé Feb. 18, 2020, 9:43 a.m. UTC
Fixes: 6663a0a3376
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
Cc: Stefano Garzarella <sgarzare@redhat.com>
---
 block/io_uring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dr. David Alan Gilbert Feb. 18, 2020, 9:52 a.m. UTC | #1
* Philippe Mathieu-Daudé (philmd@redhat.com) wrote:
> Fixes: 6663a0a3376
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> Cc: Stefano Garzarella <sgarzare@redhat.com>

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

> ---
>  block/io_uring.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/block/io_uring.c b/block/io_uring.c
> index 56892fd1ab..a3142ca989 100644
> --- a/block/io_uring.c
> +++ b/block/io_uring.c
> @@ -187,7 +187,7 @@ static void luring_process_completions(LuringState *s)
>                      ret = 0;
>                  }
>              } else {
> -                ret = -ENOSPC;;
> +                ret = -ENOSPC;
>              }
>          }
>  end:
> -- 
> 2.21.1
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
Kevin Wolf Feb. 18, 2020, 9:55 a.m. UTC | #2
Am 18.02.2020 um 10:43 hat Philippe Mathieu-Daudé geschrieben:
> Fixes: 6663a0a3376
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Thanks, applied patches 3 and 4 to the block branch.

Kevin
Stefano Garzarella Feb. 18, 2020, 9:55 a.m. UTC | #3
On Tue, Feb 18, 2020 at 10:43:53AM +0100, Philippe Mathieu-Daudé wrote:
> Fixes: 6663a0a3376
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> Cc: Stefano Garzarella <sgarzare@redhat.com>
> ---
>  block/io_uring.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>

Thanks,
Stefano

> 
> diff --git a/block/io_uring.c b/block/io_uring.c
> index 56892fd1ab..a3142ca989 100644
> --- a/block/io_uring.c
> +++ b/block/io_uring.c
> @@ -187,7 +187,7 @@ static void luring_process_completions(LuringState *s)
>                      ret = 0;
>                  }
>              } else {
> -                ret = -ENOSPC;;
> +                ret = -ENOSPC;
>              }
>          }
>  end:
> -- 
> 2.21.1
>
Juan Quintela Feb. 18, 2020, 10:29 a.m. UTC | #4
Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
> Fixes: 6663a0a3376
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Reviewed-by: Juan Quintela <quintela@redhat.com>
diff mbox series

Patch

diff --git a/block/io_uring.c b/block/io_uring.c
index 56892fd1ab..a3142ca989 100644
--- a/block/io_uring.c
+++ b/block/io_uring.c
@@ -187,7 +187,7 @@  static void luring_process_completions(LuringState *s)
                     ret = 0;
                 }
             } else {
-                ret = -ENOSPC;;
+                ret = -ENOSPC;
             }
         }
 end: