From 2a8e9ed6fbd05f525cc0bdb615da07e75ff1cddd Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Fri, 20 Feb 2015 14:43:17 +0200 Subject: [PATCH] android/avdtp: Remove extra check --- android/avdtp.c | 3 --- 1 file changed, 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; -- 2.47.3