Removed redundant condition in __MMIpcRecvMsg. (errno == ENOMSG) is already checked... 64/30764/1
authorSanjay NM <sanjay.nm@samsung.com>
Tue, 25 Nov 2014 06:35:30 +0000 (12:05 +0530)
committerSanjay NM <sanjay.nm@samsung.com>
Tue, 25 Nov 2014 06:35:30 +0000 (12:05 +0530)
Change-Id: I6878ff1931f7ad83f4b0759fbed31eb56336f7e4

mm_sound_client.c

index be73f61..cd3a37c 100644 (file)
@@ -1297,8 +1297,6 @@ static int __MMIpcRecvMsg(int msgtype, mm_ipc_msg_t *msg)
                        debug_warning("[Client] Not acces.\n");
                } else if (errno == EACCES) {
                        debug_warning("[Client] Access denied\n");
-               } else if (errno == ENOMSG) {
-                       debug_warning("[Client] Blocked process [msgflag & IPC_NOWAIT != 0]\n");
                } else if (errno == EIDRM) {
                        debug_warning("[Client] Removed msgid from system\n");
                } else if (errno == EINTR) {