diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-02-27 20:34:26 +0100 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-02-27 20:51:50 +0100 |
commit | 9f16101bf0f2fcf9c5d0b26163dafb893a92e4eb (patch) | |
tree | da9f019d252820093363a9bb19b6b6255071e488 | |
parent | 20c94895fa9f7f7287fb873bf1bda0ab5f2f0e04 (diff) |
eliminate unused mutex_plt
-rw-r--r-- | playlist.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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; } |