From dfdc4e8b1ef995ef2c7eb502f055221a343f8812 Mon Sep 17 00:00:00 2001 From: Deokhyun Kim Date: Thu, 10 Jan 2019 14:09:34 +0900 Subject: [PATCH] Fix svace issue(27475) Change-Id: Ia8d52caaa687ed9cc21e0a9cdc43681b717a7656 Signed-off-by: Deokhyun Kim --- src/bluetooth-pbap.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/bluetooth-pbap.c b/src/bluetooth-pbap.c index d6b5af1..f7d17c2 100644 --- a/src/bluetooth-pbap.c +++ b/src/bluetooth-pbap.c @@ -180,10 +180,6 @@ int bt_pbap_client_get_phone_book(const char *address, bt_pbap_address_book_sour if (max_list_count <= 0) return BT_ERROR_INVALID_PARAMETER; - /* Maximum value of maxlistcount is 65535 */ - if (max_list_count > 65535) - max_list_count = 65535; - app_param.format = format; app_param.order = order; app_param.offset = offset; -- 2.7.4