x86: remove unless include and comments
PATCH 1/1 x86: remove unless include and comments
Signed-off-by WANG Cong <[email protected]>
---
arch/x86/kernel/process_32.c +0 -5
@@ -9,8 +9,6 @@* This file handles the architecture-dependent parts of process handling.. */ -#include <stdarg.h> -#include <linux/cpu.h> #include <linux/errno.h> #include <linux/sched.h>
@@ -631,9 +629,6 @@ asmlinkage int sys_vfork(struct pt_regs regs)return do_fork (CLONE_VFORK |CLONE_VM |SIGCHLD , regs.sp, ®s,0 ,NULL ,NULL ); } -/* -* sys_execve() executes a new program. -*/ asmlinkage int sys_execve(struct pt_regs regs) {int error;
Ingo Molnar
AppliedQuoted 9 lines · Américo Wang
Signed-off-by WANG Cong <[email protected]>---
arch/x86/kernel/process_32.c +0
-0
arch/x86/kernel/process_32.c line 13
Quoted 5 lines
arch/x86/kernel/process_32.c +0
-2@@ -9,8 +9,6 @@* This file handles the architecture-dependent parts of process handling.. */ -#include <stdarg.h> -
i've applied this bit to tip/x86/cleanups, thanks!
arch/x86/kernel/process_32.c asmlinkage int sys_vfork(struct pt_regs regs) · line 634
Quoted 10 lines
arch/x86/kernel/process_32.c +0
-3@@ -631,9 +629,6 @@ asmlinkage int sys_vfork(struct pt_regs regs)return do_fork (CLONE_VFORK |CLONE_VM |SIGCHLD , regs.sp, ®s,0 ,NULL ,NULL ); } -/* -* sys_execve() executes a new program. -*/ asmlinkage int sys_execve(struct pt_regs regs) {int error;
That's not really useless so i left it out.
Ingo