Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1611348 > unrolled thread

[PATCH 4/5] kernel: pid_namespace: Remove return statement from void function

Started byArushi Singhal <arushisinghal19971997@gmail.com>
First post2017-03-28 22:50 +0200
Last post2017-03-28 22:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4/5] kernel: pid_namespace: Remove return statement from void function Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-28 22:50 +0200

#1611348 — [PATCH 4/5] kernel: pid_namespace: Remove return statement from void function

FromArushi Singhal <arushisinghal19971997@gmail.com>
Date2017-03-28 22:50 +0200
Subject[PATCH 4/5] kernel: pid_namespace: Remove return statement from void function
Message-ID<tq6dX-4Gs-1@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web