Re: [PATCH spice 3/9] snd: simplify reds_register_channel() call

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

 



> From: Marc-André Lureau <mlureau@xxxxxxxxxx>
> 
> Give channel argument directly
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>
> ---
>  server/sound.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/server/sound.c b/server/sound.c
> index 5c252c1..a8cf0b6 100644
> --- a/server/sound.c
> +++ b/server/sound.c
> @@ -1533,7 +1533,7 @@ void snd_attach_playback(SpicePlaybackInstance *sin)
>  
>      playback_worker->base_channel = channel;
>      add_worker(playback_worker);
> -    reds_register_channel(playback_worker->base_channel);
> +    reds_register_channel(channel);
>  }
>  
>  void snd_attach_record(SpiceRecordInstance *sin)
> @@ -1561,7 +1561,7 @@ void snd_attach_record(SpiceRecordInstance *sin)
>  
>      record_worker->base_channel = channel;
>      add_worker(record_worker);
> -    reds_register_channel(record_worker->base_channel);
> +    reds_register_channel(channel);
>  }
>  
>  static void snd_detach_common(SndWorker *worker)
> --
> 2.5.0
> 

Acked-by: Frediano Ziglio <fziglio@xxxxxxxxxx>

Frediano
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]