patch-2.2.0-pre9 linux/arch/alpha/kernel/process.c

Next file: linux/arch/alpha/kernel/time.c
Previous file: linux/arch/alpha/kernel/osf_sys.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre8/linux/arch/alpha/kernel/process.c linux/arch/alpha/kernel/process.c
@@ -266,12 +266,8 @@
 
 int alpha_vfork(struct switch_stack * swstack)
 {
-	int child;
-
-	child = do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, rdusp(),
+	return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, rdusp(),
 			(struct pt_regs *) (swstack+1));
-
-	return child;
 }
 
 extern void ret_from_sys_call(void);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov