From: Sangjin Lee Date: Wed, 3 Feb 2016 08:16:41 +0000 (+0900) Subject: surface queue: remove useless variable X-Git-Tag: submit/tizen/20160211.054514~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F66%2F58766%2F2;p=platform%2Fcore%2Fuifw%2Flibtbm.git surface queue: remove useless variable Change-Id: Ib2a4d047d025ad1b7a8746f5cf82732c53f71143 --- diff --git a/src/tbm_surface_queue.c b/src/tbm_surface_queue.c index 8f92e83..6fdcdd8 100644 --- a/src/tbm_surface_queue.c +++ b/src/tbm_surface_queue.c @@ -526,7 +526,7 @@ tbm_surface_queue_error_e tbm_surface_queue_acquire(tbm_surface_queue_h surface_ queue_node *node = NULL; TBM_RETURN_VAL_IF_FAIL(surface_queue != NULL, TBM_SURFACE_QUEUE_ERROR_INVALID_QUEUE); - TBM_RETURN_VAL_IF_FAIL(surface != NULL, TBM_SURFACE_QUEUE_ERROR_INVALID_SURFACE); + TBM_RETURN_VAL_IF_FAIL(surface != NULL, TBM_SURFACE_QUEUE_ERROR_INVALID_SURFACE); pthread_mutex_lock(&surface_queue->lock); @@ -716,7 +716,6 @@ typedef struct int num_attached; int flags; queue dequeue_list; - queue enqueue_list; }tbm_queue_sequence; static void __tbm_queue_sequence_init(tbm_surface_queue_h surface_queue) @@ -725,7 +724,6 @@ static void __tbm_queue_sequence_init(tbm_surface_queue_h surface_queue) data->num_attached = 0; _queue_init(&data->dequeue_list); - _queue_init(&data->enqueue_list); } static void __tbm_queue_sequence_reset(tbm_surface_queue_h surface_queue) @@ -734,7 +732,6 @@ static void __tbm_queue_sequence_reset(tbm_surface_queue_h surface_queue) data->num_attached = 0; _queue_init(&data->dequeue_list); - _queue_init(&data->enqueue_list); } static void __tbm_queue_sequence_destroy(tbm_surface_queue_h surface_queue)