From 9f16101bf0f2fcf9c5d0b26163dafb893a92e4eb Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Thu, 27 Feb 2014 20:34:26 +0100 Subject: eliminate unused mutex_plt --- playlist.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'playlist.c') diff --git a/playlist.c b/playlist.c index 36b51690..7f55eda0 100644 --- a/playlist.c +++ b/playlist.c @@ -103,7 +103,6 @@ static int plt_loading = 0; // disable sending event about playlist switch, conf #if !DISABLE_LOCKING static uintptr_t mutex; -static uintptr_t mutex_plt; #endif #define LOCK {pl_lock();} @@ -163,7 +162,6 @@ pl_init (void) { playlist = &dummy_playlist; #if !DISABLE_LOCKING mutex = mutex_create (); - mutex_plt = mutex_create (); #endif return 0; } @@ -193,10 +191,6 @@ pl_free (void) { mutex_free (mutex); mutex = 0; } - if (mutex_plt) { - mutex_free (mutex_plt); - mutex_plt = 0; - } #endif playlist = NULL; } -- cgit v1.2.3