Diff between b6ec5fea6585a3e68010207bc51645965687b9bf and 071981679e34915e782cf95767646f7399036550

Changed Files

File Additions Deletions Status
profiles/audio/a2dp.c +0 -8 modified
profiles/audio/a2dp.h +0 -1 modified

Full Patch

diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
index a4719d8..fb241f0 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -1864,14 +1864,6 @@ gboolean a2dp_sep_unlock(struct a2dp_sep *sep, struct avdtp *session)
 	return TRUE;
 }
 
-gboolean a2dp_sep_is_playing(struct a2dp_sep *sep)
-{
-	if (avdtp_sep_get_state(sep->lsep) == AVDTP_STATE_STREAMING)
-		return TRUE;
-	else
-		return FALSE;
-}
-
 struct avdtp_stream *a2dp_sep_get_stream(struct a2dp_sep *sep)
 {
 	return sep->stream;
diff --git a/profiles/audio/a2dp.h b/profiles/audio/a2dp.h
index 2c49c5a..f0e3ee6 100644
--- a/profiles/audio/a2dp.h
+++ b/profiles/audio/a2dp.h
@@ -90,5 +90,4 @@ gboolean a2dp_cancel(struct audio_device *dev, unsigned int id);
 
 gboolean a2dp_sep_lock(struct a2dp_sep *sep, struct avdtp *session);
 gboolean a2dp_sep_unlock(struct a2dp_sep *sep, struct avdtp *session);
-gboolean a2dp_sep_is_playing(struct a2dp_sep *sep);
 struct avdtp_stream *a2dp_sep_get_stream(struct a2dp_sep *sep);