lkml.org 
[lkml]   [2009]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[trival patch] x86: remove unless include and comments

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, &regs, 0, NULL, NULL);
}

-/*
- * sys_execve() executes a new program.
- */
asmlinkage int sys_execve(struct pt_regs regs)
{
int error;


\
 
 \ /
  Last update: 2009-01-30 10:25    [W:0.027 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site