OpenVZ Forum


Home » Mailing lists » Devel » [PATCH v4 1/9] ipc: remove forced assignment of selected message
[PATCH v4 1/9] ipc: remove forced assignment of selected message [message #47479] Mon, 13 August 2012 12:31
Stanislav Kinsbursky is currently offline  Stanislav Kinsbursky
Messages: 683
Registered: October 2011
Senior Member
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;
 
Read Message
Previous Topic: [PATCH] SUNRPC: check current nsproxy before set of node name on client creation
Next Topic: [PATCH v4 2/9] ipc: "use key as id" functionality for resource get system call int
Goto Forum:
  


Current Time: Fri Aug 01 21:51:03 GMT 2025

Total time taken to generate the page: 0.60940 seconds