Skip to contentSkip to conversation

x86: remove unless include and comments

PATCH Applied Américo Wang 2 participants 2 messages Jan 30, 2009 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: remove unless include and comments

---

arch/x86/kernel/process_32.c +0 -5
index a546f55..e306105 100644
@@ -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, &regs, 0, NULL, NULL);
 }
 
-/*
- * sys_execve() executes a new program.
- */
 asmlinkage int sys_execve(struct pt_regs regs)
 {
 	int error;
Applied
#1 lore raw
Quoted 9 lines · Américo Wang

---

arch/x86/kernel/process_32.c +0 -0
index a546f55..e306105 100644

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, &regs, 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