aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-04-02 19:56:59 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-02 22:04:51 -0400
commit6f2c55b843836d26528c56a0968689accaedbc67 (patch)
tree17501e29d4b6ef3eb85da9a5d6ad3df7f19ec6a2 /kernel
parent14dd1ff0f9e75dd4ae2f1ff8e48becb76d14f4ab (diff)
Simplify copy_thread()
First argument unused since 2.3.11. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: <linux-arch@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 51d1aa21483b..d7eb727eb535 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1125,7 +1125,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
1125 goto bad_fork_cleanup_mm; 1125 goto bad_fork_cleanup_mm;
1126 if ((retval = copy_io(clone_flags, p))) 1126 if ((retval = copy_io(clone_flags, p)))
1127 goto bad_fork_cleanup_namespaces; 1127 goto bad_fork_cleanup_namespaces;
1128 retval = copy_thread(0, clone_flags, stack_start, stack_size, p, regs); 1128 retval = copy_thread(clone_flags, stack_start, stack_size, p, regs);
1129 if (retval) 1129 if (retval)
1130 goto bad_fork_cleanup_io; 1130 goto bad_fork_cleanup_io;
1131 1131