* [trival patch] x86: remove unless include and comments
@ 2009-01-30 9:21 Américo Wang
2009-01-30 13:40 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Américo Wang @ 2009-01-30 9:21 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton
Signed-off-by: WANG Cong <wangcong@zeuux.org>
---
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
index a546f55..e306105 100644
--- a/arch/x86/kernel/process_32.c
+++ b/arch/x86/kernel/process_32.c
@@ -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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [trival patch] x86: remove unless include and comments
2009-01-30 9:21 [trival patch] x86: remove unless include and comments Américo Wang
@ 2009-01-30 13:40 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2009-01-30 13:40 UTC (permalink / raw)
To: Américo Wang; +Cc: LKML, Andrew Morton, the arch/x86 maintainers
* Américo Wang <xiyou.wangcong@gmail.com> wrote:
>
> Signed-off-by: WANG Cong <wangcong@zeuux.org>
>
> ---
> diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
> index a546f55..e306105 100644
> --- a/arch/x86/kernel/process_32.c
> +++ b/arch/x86/kernel/process_32.c
> @@ -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!
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-30 13:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-30 9:21 [trival patch] x86: remove unless include and comments Américo Wang
2009-01-30 13:40 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox