[Spice-devel] [PATCH spice-common 1/5] quic: remove only assigned num_channels field

Jonathon Jongsma jjongsma at redhat.com
Tue Aug 8 20:32:59 UTC 2017


ACK series.


On Fri, 2017-08-04 at 08:56 +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  common/quic.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/common/quic.c b/common/quic.c
> index b753d07..511e733 100644
> --- a/common/quic.c
> +++ b/common/quic.c
> @@ -153,7 +153,6 @@ struct Encoder {
>      QuicImageType type;
>      unsigned int width;
>      unsigned int height;
> -    unsigned int num_channels;
>  
>      unsigned int n_buckets_8bpc;
>      unsigned int n_buckets_5bpc;
> @@ -1079,8 +1078,6 @@ static int encoder_reset_channels(Encoder
> *encoder, int channels, int width, int
>  {
>      int i;
>  
> -    encoder->num_channels = channels;
> -
>      for (i = 0; i < channels; i++) {
>          s_bucket *bucket;
>          s_bucket *end_bucket;


More information about the Spice-devel mailing list