bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH gnumach 2/2] XXX avoid thread_syscall_return for measuring null m


From: Justus Winter
Subject: [PATCH gnumach 2/2] XXX avoid thread_syscall_return for measuring null msg
Date: Sat, 2 May 2015 18:49:10 +0200

---
 ipc/mach_msg.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/ipc/mach_msg.c b/ipc/mach_msg.c
index aecfcd4..07e59e2 100644
--- a/ipc/mach_msg.c
+++ b/ipc/mach_msg.c
@@ -1673,9 +1673,7 @@ mach_msg_trap(
                 *      (syscall entry and thread_syscall_return exit)
                 *      with this path.
                 */
-
-               thread_syscall_return(MACH_MSG_SUCCESS);
-               /*NOTREACHED*/
+               return MACH_MSG_SUCCESS;
        }
 
        if (option & MACH_SEND_MSG) {
-- 
2.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]