aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/exec.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/exec.c b/fs/exec.c
index e92419fd78b3..4f079bd083af 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -243,10 +243,6 @@ static void put_arg_page(struct page *page)
243 put_page(page); 243 put_page(page);
244} 244}
245 245
246static void free_arg_page(struct linux_binprm *bprm, int i)
247{
248}
249
250static void free_arg_pages(struct linux_binprm *bprm) 246static void free_arg_pages(struct linux_binprm *bprm)
251{ 247{
252} 248}
@@ -1499,9 +1495,6 @@ int remove_arg_zero(struct linux_binprm *bprm)
1499 1495
1500 kunmap_atomic(kaddr); 1496 kunmap_atomic(kaddr);
1501 put_arg_page(page); 1497 put_arg_page(page);
1502
1503 if (offset == PAGE_SIZE)
1504 free_arg_page(bprm, (bprm->p >> PAGE_SHIFT) - 1);
1505 } while (offset == PAGE_SIZE); 1498 } while (offset == PAGE_SIZE);
1506 1499
1507 bprm->p++; 1500 bprm->p++;