From 1d384ce863eec033be6195bbf5f33da9d6f3dfc3 Mon Sep 17 00:00:00 2001 From: Norbert Federa Date: Wed, 17 Jul 2013 10:01:56 +0200 Subject: [PATCH] codec/rfx: removed unused queue TileQueue Declared, created, deleted but not used: git grep TileQueue libfreerdp/codec/rfx_types.h: wQueue* TileQueue; libfreerdp/codec/rfx.c: context->priv->TileQueue = Queue_New(TRUE, -1, -1); libfreerdp/codec/rfx.c: Queue_Free(context->priv->TileQueue); --- libfreerdp/codec/rfx.c | 2 -- libfreerdp/codec/rfx_types.h | 1 - 2 files changed, 3 deletions(-) diff --git a/libfreerdp/codec/rfx.c b/libfreerdp/codec/rfx.c index 49a81d26f..26825a89d 100644 --- a/libfreerdp/codec/rfx.c +++ b/libfreerdp/codec/rfx.c @@ -156,7 +156,6 @@ RFX_CONTEXT* rfx_context_new(void) ZeroMemory(context->priv, sizeof(RFX_CONTEXT_PRIV)); context->priv->TilePool = Queue_New(TRUE, -1, -1); - context->priv->TileQueue = Queue_New(TRUE, -1, -1); /* * align buffers to 16 byte boundary (needed for SSE/NEON instructions) @@ -254,7 +253,6 @@ void rfx_context_free(RFX_CONTEXT* context) free(context->quants); Queue_Free(context->priv->TilePool); - Queue_Free(context->priv->TileQueue); rfx_profiler_print(context); rfx_profiler_free(context); diff --git a/libfreerdp/codec/rfx_types.h b/libfreerdp/codec/rfx_types.h index 80ae12511..f87dba7f6 100644 --- a/libfreerdp/codec/rfx_types.h +++ b/libfreerdp/codec/rfx_types.h @@ -40,7 +40,6 @@ struct _RFX_CONTEXT_PRIV { wQueue* TilePool; - wQueue* TileQueue; BOOL UseThreads; DWORD MinThreadCount;