Remove unused function 39/225639/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 21 Feb 2020 11:04:14 +0000 (20:04 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 21 Feb 2020 11:04:14 +0000 (20:04 +0900)
Change-Id: I288a400ea7ef143a3337b12ee9596f7065682b2b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
receiver/src/ft.cpp

index c5ccfbf..133f673 100644 (file)
@@ -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) */
 {