It was introduced in b532ef0866cefe260ad0f08550f7c40d3580d0d7 but never used. Signed-off-by: Pavel Grunt <pgrunt@xxxxxxxxxx> --- server/lz4_encoder.c | 5 ----- server/lz4_encoder.h | 1 - 2 files changed, 6 deletions(-) diff --git a/server/lz4_encoder.c b/server/lz4_encoder.c index b3e38b2..7d4e7f3 100644 --- a/server/lz4_encoder.c +++ b/server/lz4_encoder.c @@ -44,11 +44,6 @@ Lz4EncoderContext* lz4_encoder_create(Lz4EncoderUsrContext *usr) return (Lz4EncoderContext*)enc; } -void lz4_encoder_destroy(Lz4EncoderContext* encoder) -{ - free(encoder); -} - int lz4_encode(Lz4EncoderContext *lz4, int height, int stride, uint8_t *io_ptr, unsigned int num_io_bytes, int top_down, uint8_t format) { diff --git a/server/lz4_encoder.h b/server/lz4_encoder.h index f1de12a..9dbf3b5 100644 --- a/server/lz4_encoder.h +++ b/server/lz4_encoder.h @@ -41,7 +41,6 @@ struct Lz4EncoderUsrContext { }; Lz4EncoderContext* lz4_encoder_create(Lz4EncoderUsrContext *usr); -void lz4_encoder_destroy(Lz4EncoderContext *encoder); /* returns the total size of the encoded data. */ int lz4_encode(Lz4EncoderContext *lz4, int height, int stride, uint8_t *io_ptr, -- 2.5.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel