From 119054284ae25a733a8d54fcac54800a146767ff Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Fri, 21 Feb 2020 20:04:14 +0900 Subject: [PATCH] Remove unused function Change-Id: I288a400ea7ef143a3337b12ee9596f7065682b2b Signed-off-by: Jihoon Kim --- receiver/src/ft.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/receiver/src/ft.cpp b/receiver/src/ft.cpp index c5ccfbf..133f673 100644 --- a/receiver/src/ft.cpp +++ b/receiver/src/ft.cpp @@ -215,16 +215,6 @@ void conn_terminated(sap_peer_agent_h peer_agent, } void -on_message_received(sap_peer_agent_h peer_agent, unsigned int payload_length, void *buffer, - void *user_data) /* message exchange on_receive callback (sap_agent_data_received_cb) */ -{ - char *peer_app; - sap_peer_agent_get_app_name(peer_agent, &peer_app); - dlog_print(DLOG_INFO, TAG, "received data: %s, len:%d from %s", (char *)buffer, payload_length, peer_app); - g_free(peer_app); -} - -void on_data_received(sap_socket_h socket, unsigned short int channel_id, unsigned int payload_length, void *buffer, void *user_data) /* message exchange on_receive callback (sap_agent_data_received_cb) */ { -- 2.7.4