Remove unnecessary codes 36/202936/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 8 Apr 2019 05:15:25 +0000 (14:15 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 8 Apr 2019 05:15:25 +0000 (14:15 +0900)
Change-Id: I39bde0053bdb138ddfbf72505e71bb938c22e3ea
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
service_lib/autofill_service.c

index 4c7654d..5307ff3 100644 (file)
@@ -347,34 +347,6 @@ static void __destroy_client(gpointer data)
     free(handle);
 }
 
-static void __message_create(rpc_port_stub_AutofillSvcPort_context_h context,
-        void *user_data)
-{
-    LOGD("");
-    char *sender = NULL;
-
-    rpc_port_stub_AutofillSvcPort_context_get_sender(context, &sender);
-    if (!sender)
-        return;
-
-    LOGD("sender(%s)", sender);
-    free(sender);
-}
-
-static void __message_terminate(rpc_port_stub_AutofillSvcPort_context_h context,
-        void *user_data)
-{
-    LOGD("");
-    char *sender = NULL;
-
-    rpc_port_stub_AutofillSvcPort_context_get_sender(context, &sender);
-    if (!sender)
-        return;
-
-    LOGD("sender(%s)", sender);
-    free(sender);
-}
-
 static int __message_register(rpc_port_stub_AutofillSvcPort_context_h context,
                               rpc_port_AutofillSvcPort_autofill_svc_auth_info_cb_h auth_info_cb,
                               rpc_port_AutofillSvcPort_autofill_svc_fill_response_cb_h fill_response_received_cb,
@@ -388,8 +360,6 @@ static int __message_register(rpc_port_stub_AutofillSvcPort_context_h context,
     if (!sender)
         return -1;
 
-    LOGD("sender(%s)", sender);
-
     autofill_svc_s *client;
     client = __create_client(sender, auth_info_cb, fill_response_received_cb, send_error_cb);
     free(sender);
@@ -430,8 +400,8 @@ EXPORT_API int autofill_service_initialize(void)
     int ret;
 
     rpc_port_stub_AutofillSvcPort_callback_s callback = {
-        __message_create,
-        __message_terminate,
+        NULL,
+        NULL,
         __message_register,
         __message_unregister,
         __auth_info_request_cb,