[PATCH RESEND 02/13] audio/alsaaudio: Remove superfluous semicolons

Philippe Mathieu-Daudé posted 13 patches 5 years, 8 months ago
Maintainers: Stefan Hajnoczi <stefanha@redhat.com>, Max Reitz <mreitz@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Alistair Francis <alistair@alistair23.me>, Fam Zheng <fam@euphon.net>, Thomas Huth <thuth@redhat.com>, Thomas Huth <huth@tuxfamily.org>, Aarushi Mehta <mehta.aaru20@gmail.com>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Yuval Shaia <yuval.shaia.ml@gmail.com>, Richard Henderson <rth@twiddle.net>, Peter Maydell <peter.maydell@linaro.org>, Julia Suvorova <jusual@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Alex Williamson <alex.williamson@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Juan Quintela <quintela@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>
[PATCH RESEND 02/13] audio/alsaaudio: Remove superfluous semicolons
Posted by Philippe Mathieu-Daudé 5 years, 8 months ago
Fixes: 286a5d201e4
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
Cc: "Kővágó, Zoltán" <DirtY.iCE.hu@gmail.com>
---
 audio/alsaaudio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
index a23a5a0b60..a8e62542f9 100644
--- a/audio/alsaaudio.c
+++ b/audio/alsaaudio.c
@@ -819,7 +819,7 @@ static size_t alsa_read(HWVoiceIn *hw, void *buf, size_t len)
             switch (nread) {
             case 0:
                 trace_alsa_read_zero(len);
-                return pos;;
+                return pos;
 
             case -EPIPE:
                 if (alsa_recover(alsa->handle)) {
@@ -835,7 +835,7 @@ static size_t alsa_read(HWVoiceIn *hw, void *buf, size_t len)
             default:
                 alsa_logerr(nread, "Failed to read %zu frames to %p\n",
                             len, dst);
-                return pos;;
+                return pos;
             }
         }
 
-- 
2.21.1


Re: [PATCH RESEND 02/13] audio/alsaaudio: Remove superfluous semicolons
Posted by Dr. David Alan Gilbert 5 years, 8 months ago
* Philippe Mathieu-Daudé (philmd@redhat.com) wrote:
> Fixes: 286a5d201e4
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

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

> ---
> Cc: "Kővágó, Zoltán" <DirtY.iCE.hu@gmail.com>
> ---
>  audio/alsaaudio.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
> index a23a5a0b60..a8e62542f9 100644
> --- a/audio/alsaaudio.c
> +++ b/audio/alsaaudio.c
> @@ -819,7 +819,7 @@ static size_t alsa_read(HWVoiceIn *hw, void *buf, size_t len)
>              switch (nread) {
>              case 0:
>                  trace_alsa_read_zero(len);
> -                return pos;;
> +                return pos;
>  
>              case -EPIPE:
>                  if (alsa_recover(alsa->handle)) {
> @@ -835,7 +835,7 @@ static size_t alsa_read(HWVoiceIn *hw, void *buf, size_t len)
>              default:
>                  alsa_logerr(nread, "Failed to read %zu frames to %p\n",
>                              len, dst);
> -                return pos;;
> +                return pos;
>              }
>          }
>  
> -- 
> 2.21.1
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK


Re: [PATCH RESEND 02/13] audio/alsaaudio: Remove superfluous semicolons
Posted by Juan Quintela 5 years, 8 months ago
Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
> Fixes: 286a5d201e4
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

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