summaryrefslogtreecommitdiff
path: root/profiles/audio
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-10-15 13:01:59 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-10-15 13:03:31 +0300
commite58482cb30cb38185c4ecee01aa1ae4655fa6d58 (patch)
treeba3a2032f351421c84954d394fa336cdc329454d /profiles/audio
parentbfc19ea0731dd47f9aa40cb3d501ce6f73f305e9 (diff)
downloadbluez-e58482cb30cb38185c4ecee01aa1ae4655fa6d58.tar.gz
audio/media: Remove unused field
track_watch is no longer used for anything since MPRIS interfaces was adopted.
Diffstat (limited to 'profiles/audio')
-rw-r--r--profiles/audio/media.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/profiles/audio/media.c b/profiles/audio/media.c
index 646c76acc..09a959a7a 100644
--- a/profiles/audio/media.c
+++ b/profiles/audio/media.c
@@ -95,7 +95,6 @@ struct media_player {
GHashTable *track; /* Player current track */
guint watch;
guint properties_watch;
- guint track_watch;
guint seek_watch;
char *status;
uint32_t position;
@@ -949,7 +948,6 @@ static void media_player_free(gpointer data)
g_dbus_remove_watch(conn, mp->watch);
g_dbus_remove_watch(conn, mp->properties_watch);
- g_dbus_remove_watch(conn, mp->track_watch);
g_dbus_remove_watch(conn, mp->seek_watch);
if (mp->track)