[Spice-devel] [PATCH spice-common 1/5] quic: remove only assigned num_channels field
Frediano Ziglio
fziglio at redhat.com
Fri Aug 4 07:56:58 UTC 2017
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;
--
2.13.3
More information about the Spice-devel
mailing list