summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWootak Jung <wootak.jung@samsung.com>2022-03-21 11:35:36 +0900
committerWootak Jung <wootak.jung@samsung.com>2022-03-21 11:35:36 +0900
commit3655efb847daaf9c39642c218bbcb98697af5807 (patch)
tree79c9d30a253bd13f217dd214906b85f3150319dc
parenta695dd71cd07bbb2bd107226eaedc80905495d38 (diff)
downloadbluez-accepted/tizen/unified/20220323.062650.tar.gz
bluez-accepted/tizen/unified/20220323.062650.tar.bz2
bluez-accepted/tizen/unified/20220323.062650.zip
Remove unnecessary check logic Change-Id: I39d8c4753d30be92c300bafb7f7aef11d4f7f9b9
-rw-r--r--src/device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index 71c9dad3..6cb26ddf 100644
--- a/src/device.c
+++ b/src/device.c
@@ -2653,8 +2653,7 @@ static GSList *create_pending_list(struct btd_device *dev, const char *uuid)
return g_slist_prepend(dev->pending, service);
#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
- else if ((service == NULL) &&
- (g_strcmp0(uuid, HFP_HS_UUID) == 0)) {
+ else if (g_strcmp0(uuid, HFP_HS_UUID) == 0) {
DBG("HFP service not found check for HSP service");
service = find_connectable_service(dev, HSP_HS_UUID);
if (service)