From 961cbdfe13f0ffb6fa899053a898b0e496920e32 Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Thu, 19 Jun 2014 13:28:21 +0300 Subject: [PATCH] android/gatt: Remove dead code The code apparently left after wrong rebase as it duplicates code several lines above. --- android/gatt.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/android/gatt.c b/android/gatt.c index 287746dd9..d09e72f7f 100644 --- a/android/gatt.c +++ b/android/gatt.c @@ -5325,11 +5325,6 @@ static uint8_t find_info_handle(const uint8_t *cmd, uint16_t cmd_len, } - if (!adl) { - queue_destroy(q, NULL); - return ATT_ECODE_INSUFF_RESOURCES; - } - len = enc_find_info_resp(ATT_FIND_INFO_RESP_FMT_16BIT, adl, rsp, rsp_size); if (!len) -- 2.47.3