aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorChris Wright <chrisw@osdl.org>2005-01-10 01:32:00 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-10 01:32:00 -0800
commit095f1474e9b4a6d8b5bbb74b49cf2c0b5fe41483 (patch)
tree8d6c72fcbf549f8455e5ec35f64ad16413d26ea9 /mm
parent73ef2d644741787f8054e69c4c52d471bd68617f (diff)
downloadhistory-095f1474e9b4a6d8b5bbb74b49cf2c0b5fe41483.tar.gz
[PATCH] remove duplicate rlim assignment in acct_stack_growth()
Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/mmap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index 3b45058686b5c4..06c3be61de8025 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1346,7 +1346,6 @@ static int acct_stack_growth(struct vm_area_struct * vma, unsigned long size, un
struct rlimit *rlim = current->signal->rlim;
/* address space limit tests */
- rlim = current->signal->rlim;
if (mm->total_vm + grow > rlim[RLIMIT_AS].rlim_cur >> PAGE_SHIFT)
return -ENOMEM;