remove duplicate code in caleadapter
authorjihwan.seo <jihwan.seo@samsung.com>
Mon, 20 Mar 2017 03:53:08 +0000 (12:53 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Wed, 22 Mar 2017 11:41:10 +0000 (11:41 +0000)
Change-Id: I40ad527a8500b272d9c4660dfcded966e374d006
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17997
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/connectivity/src/bt_le_adapter/caleadapter.c

index 6fc8895..9ea72ae 100644 (file)
@@ -3523,10 +3523,6 @@ static CAResult_t CALEAdapterClientSendData(const CAEndpoint_t *remoteEndpoint,
                         "g_bleClientSendDataMutex is NULL",
                         CA_STATUS_FAILED);
 
-    VERIFY_NON_NULL_RET(g_bleClientSendQueueHandle, CALEADAPTER_TAG,
-                        "g_bleClientSendQueueHandle",
-                        CA_STATUS_FAILED);
-
     OIC_LOG_V(DEBUG, CALEADAPTER_TAG, "Data Sending to LE layer [%u]", dataLen);
 
     CALEData_t *bleData = CACreateLEData(remoteEndpoint, data, dataLen, NULL);