From: Szymon Janc Date: Thu, 10 Oct 2013 08:53:38 +0000 (+0200) Subject: avdtp: Remove unused avdtp_stream_setup_active function X-Git-Tag: android-x86-4.4-r3~7457 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=53434a194d07934cf8856ccfd1521e2f9cadae56;p=android-x86%2Fexternal-bluetooth-bluez.git avdtp: Remove unused avdtp_stream_setup_active function It is not used anywhere and can be removed. --- diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c index 1f290504f..e83245e82 100644 --- a/profiles/audio/avdtp.c +++ b/profiles/audio/avdtp.c @@ -3857,11 +3857,6 @@ gboolean avdtp_has_stream(struct avdtp *session, struct avdtp_stream *stream) return g_slist_find(session->streams, stream) ? TRUE : FALSE; } -gboolean avdtp_stream_setup_active(struct avdtp *session) -{ - return session->stream_setup; -} - void avdtp_set_device_disconnect(struct avdtp *session, gboolean dev_dc) { session->device_disconnect = dev_dc; diff --git a/profiles/audio/avdtp.h b/profiles/audio/avdtp.h index e19dfc30b..3bf75037c 100644 --- a/profiles/audio/avdtp.h +++ b/profiles/audio/avdtp.h @@ -307,7 +307,6 @@ int avdtp_error_posix_errno(struct avdtp_error *err); struct btd_adapter *avdtp_get_adapter(struct avdtp *session); struct btd_device *avdtp_get_device(struct avdtp *session); -gboolean avdtp_stream_setup_active(struct avdtp *session); void avdtp_set_device_disconnect(struct avdtp *session, gboolean dev_dc); int avdtp_init(struct btd_adapter *adapter);