Remove unnecessary definitions 87/212987/4
authorMinje Ahn <minje.ahn@samsung.com>
Thu, 29 Aug 2019 05:51:22 +0000 (14:51 +0900)
committerhj kim <backto.kim@samsung.com>
Fri, 30 Aug 2019 00:33:41 +0000 (00:33 +0000)
Change-Id: I47c9d7c3c45b84a03b490c333cf91dc604ef785e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
lib/media-util-cynara.c

index ca9c5ce..23ec16d 100755 (executable)
 #include <cynara-error.h>
 #include <cynara-creds-socket.h>
 
-/* this definition is missing in glibc headers (version 2.21). It was introduced in kernel version 2.6.17 */
-#ifndef SCM_SECURITY
-#define SCM_SECURITY 0x03
-#endif
-
 static cynara *_cynara = NULL;
 static cynara_configuration *_p_conf = NULL;
 G_LOCK_DEFINE_STATIC(cynara_mutex);
@@ -138,8 +133,6 @@ int ms_cynara_receive_untrusted_message(int sockfd, ms_comm_msg_s *recv_msg, ms_
                return MS_MEDIA_ERR_INTERNAL;
        }
 
-//     MSAPI_DBG_ERR("cynara_creds_info : P[%d]U[%s]S[%s]", credentials->pid, credentials->uid, credentials->smack);
-
        return MS_MEDIA_ERR_NONE;
 }
 
@@ -192,8 +185,6 @@ int ms_cynara_receive_untrusted_message_thumb(int sockfd, thumbMsg *recv_msg, ms
        ret = cynara_creds_socket_get_client(sockfd, CLIENT_METHOD_SMACK, &(credentials->smack));
        MSAPI_RETVM_IF(ret != 0, MS_MEDIA_ERR_INTERNAL, "[CYNARA]Failed to get smack");
 
-//     MSAPI_DBG_ERR("cynara_creds_info : P[%d]U[%s]S[%s]", credentials->pid, credentials->uid, credentials->smack);
-
        return MS_MEDIA_ERR_NONE;
 }