diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2015-02-20 14:43:17 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2015-02-22 21:26:25 +0100 |
commit | 2a8e9ed6fbd05f525cc0bdb615da07e75ff1cddd (patch) | |
tree | f0df7f60f58c8225fd0e74785dfe85f8bd3d85db /android/avdtp.c | |
parent | c419c2f3b9176c1880443c346188a55dd2249f20 (diff) | |
download | bluez-2a8e9ed6fbd05f525cc0bdb615da07e75ff1cddd.tar.gz |
android/avdtp: Remove extra check
Diffstat (limited to 'android/avdtp.c')
-rw-r--r-- | android/avdtp.c | 3 |
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; |