[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120813123137.5581.71540.stgit@localhost6.localdomain6>
Date: Mon, 13 Aug 2012 16:31:37 +0400
From: Stanislav Kinsbursky <skinsbursky@...allels.com>
To: akpm@...ux-foundation.org
Cc: manfred@...orfullife.com, a.p.zijlstra@...llo.nl, arnd@...db.de,
hughd@...gle.com, linux-kernel@...r.kernel.org,
cmetcalf@...era.com, yeohc@....ibm.com,
linux-security-module@...r.kernel.org,
kosaki.motohiro@...fujitsu.com, hpa@...or.com,
casey@...aufler-ca.com, eparis@...isplace.org, devel@...nvz.org
Subject: [PATCH v4 1/9] ipc: remove forced assignment of selected message
This is a cleanup patch. The assignment is redundant.
---
ipc/msg.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/ipc/msg.c b/ipc/msg.c
index 7385de2..f3bfbb8 100644
--- a/ipc/msg.c
+++ b/ipc/msg.c
@@ -787,7 +787,6 @@ long do_msgrcv(int msqid, long *pmtype, void __user *mtext,
!security_msg_queue_msgrcv(msq, walk_msg, current,
msgtyp, mode)) {
- msg = walk_msg;
if (mode == SEARCH_LESSEQUAL &&
walk_msg->m_type != 1) {
msg = walk_msg;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists