summaryrefslogtreecommitdiff
path: root/android/avdtp.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2015-02-20 14:43:17 +0200
committerSzymon Janc <szymon.janc@tieto.com>2015-02-22 21:26:25 +0100
commit2a8e9ed6fbd05f525cc0bdb615da07e75ff1cddd (patch)
treef0df7f60f58c8225fd0e74785dfe85f8bd3d85db /android/avdtp.c
parentc419c2f3b9176c1880443c346188a55dd2249f20 (diff)
downloadbluez-2a8e9ed6fbd05f525cc0bdb615da07e75ff1cddd.tar.gz
android/avdtp: Remove extra check
Diffstat (limited to 'android/avdtp.c')
-rw-r--r--android/avdtp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/android/avdtp.c b/android/avdtp.c
index 35bc5489d..b8a21470b 100644
--- a/android/avdtp.c
+++ b/android/avdtp.c
@@ -3372,9 +3372,6 @@ struct avdtp_local_sep *avdtp_register_sep(struct queue *lseps, uint8_t type,
if (!seid)
return NULL;
- if (queue_length(lseps) > MAX_SEID)
- return NULL;
-
sep = g_new0(struct avdtp_local_sep, 1);
sep->state = AVDTP_STATE_IDLE;