summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-02-27 20:34:26 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-02-27 20:51:50 +0100
commit9f16101bf0f2fcf9c5d0b26163dafb893a92e4eb (patch)
treeda9f019d252820093363a9bb19b6b6255071e488 /playlist.c
parent20c94895fa9f7f7287fb873bf1bda0ab5f2f0e04 (diff)
eliminate unused mutex_plt
Diffstat (limited to 'playlist.c')
-rw-r--r--playlist.c6
1 files changed, 0 insertions, 6 deletions
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;
}