Remove the execution flag from non-executables
[platform/core/connectivity/mtp-responder.git] / src / util / mtp_msgq.c
old mode 100755 (executable)
new mode 100644 (file)
index ad98fa5..793dd8f
@@ -22,6 +22,7 @@
 /*
  * FUNCTIONS
  */
+/* LCOV_EXCL_START */
 mtp_bool _util_msgq_init(msgq_id_t *mq_id, mtp_uint32 flags)
 {
        *mq_id = msgget(IPC_PRIVATE, 0666 | IPC_CREAT);
@@ -49,11 +50,10 @@ mtp_bool _util_msgq_receive(msgq_id_t mq_id, void *buf, mtp_uint32 size,
 {
        int ret = 0;
 
-       if (flags == 1) {
+       if (flags == 1)
                ret = msgrcv(mq_id, buf, size, 0, IPC_NOWAIT);
-       } else {
+       else
                ret = msgrcv(mq_id, buf, size, 0, 0);
-       }
 
        if (ret == -1) {
                ERR("msgrcv() Fail");
@@ -122,3 +122,4 @@ mtp_bool _util_rcv_msg_from_mq(msgq_id_t mq_id, unsigned char **pkt,
 
        return TRUE;
 }
+/* LCOV_EXCL_STOP */