[TEMP] Temporarily disable aitt_option
authorgichan <gichan2.jang@samsung.com>
Mon, 29 Aug 2022 07:47:12 +0000 (16:47 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 6 Sep 2022 02:42:44 +0000 (11:42 +0900)
`aitt_option` is newest feature of the aitt.
It's not refelected on latest image. Temporarily remove aitt_option
feature.

Signed-off-by: gichan <gichan2.jang@samsung.com>
src/libnnstreamer-edge/nnstreamer-edge-aitt.c

index 64fc986717b24509f115ec3273e70a80c3dea5fe..b0a775de32d978efc7967a0a1fa1b359eb161bad 100644 (file)
@@ -43,7 +43,6 @@ nns_edge_aitt_connect (nns_edge_h edge_h)
 {
   nns_edge_handle_s *eh;
   nns_edge_aitt_handle_s *ah;
-  aitt_option_h option;
 
   eh = (nns_edge_handle_s *) edge_h;
 
@@ -60,10 +59,7 @@ nns_edge_aitt_connect (nns_edge_h edge_h)
     return NNS_EDGE_ERROR_OUT_OF_MEMORY;
   }
 
-  option = aitt_option_new ();
-  aitt_option_set (option, AITT_OPT_MY_IP, eh->host);
-
-  ah->aitt_h = aitt_new (eh->id, option);
+  ah->aitt_h = aitt_new (eh->id, eh->host);
   if (!ah->aitt_h) {
     nns_edge_loge ("Failed to create AITT handle. AITT internal error.");
     SAFE_FREE (ah);