lkml.org 
[lkml]   [2017]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 4/5] kernel: pid_namespace: Remove return statement from void function
Date
Remove the return statement from void function as is not useful.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
---
kernel/pid_namespace.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/pid_namespace.c b/kernel/pid_namespace.c
index 778959ecd5c3..be35c2fe725f 100644
--- a/kernel/pid_namespace.c
+++ b/kernel/pid_namespace.c
@@ -291,7 +291,6 @@ void zap_pid_ns_processes(struct pid_namespace *pid_ns)
current->signal->group_exit_code = pid_ns->reboot;

acct_exit_ns(pid_ns);
- return;
}

#ifdef CONFIG_CHECKPOINT_RESTORE
--
2.11.0
\
 
 \ /
  Last update: 2017-03-28 22:47    [W:2.447 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site