From 95821959a7f580d6310d8da8fa7c6a57557b6e31 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 20 May 2015 22:22:47 +0200 Subject: [PATCH] Remove local variable --- gfx/video_thread_wrapper.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gfx/video_thread_wrapper.c b/gfx/video_thread_wrapper.c index 3707561258..4b5e85d717 100644 --- a/gfx/video_thread_wrapper.c +++ b/gfx/video_thread_wrapper.c @@ -362,7 +362,6 @@ static void thread_loop(void *data) for (;;) { thread_packet_t pkt; - enum thread_cmd send_cmd; bool ret = false; bool updated = false; @@ -374,7 +373,6 @@ static void thread_loop(void *data) /* To avoid race condition where send_cmd is updated * right after the switch is checked. */ - send_cmd = thr->send_cmd; pkt = thr->cmd_data; slock_unlock(thr->lock);