diff options
| author | Christoph Hellwig <hch@sb.bsdonline.org> | 2002-07-29 19:17:43 +0200 |
|---|---|---|
| committer | Christoph Hellwig <hch@sb.bsdonline.org> | 2002-07-29 19:17:43 +0200 |
| commit | a074f68006d301fb0dbab9a460eba7cd0eb22c15 (patch) | |
| tree | 88abe2caa0e0b5699c203e6ba8fc776f99fa1428 /kernel | |
| parent | ff42067bdefaa5f3afac540d81b27a1c2751bed4 (diff) | |
VM: remove unused /proc/sys/vm/kswapd and swapctl.h
These were totally unused for a long time. It's interesting how
many files include swapctl.h, though..
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/suspend.c | 1 | ||||
| -rw-r--r-- | kernel/sysctl.c | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/kernel/suspend.c b/kernel/suspend.c index 926717ef0256..771d44b5ea39 100644 --- a/kernel/suspend.c +++ b/kernel/suspend.c @@ -36,7 +36,6 @@ #include <linux/module.h> #include <linux/mm.h> -#include <linux/swapctl.h> #include <linux/suspend.h> #include <linux/smp_lock.h> #include <linux/file.h> diff --git a/kernel/sysctl.c b/kernel/sysctl.c index fa268aa33e3a..7317c78306c3 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -22,7 +22,6 @@ #include <linux/mm.h> #include <linux/slab.h> #include <linux/sysctl.h> -#include <linux/swapctl.h> #include <linux/proc_fs.h> #include <linux/ctype.h> #include <linux/utsname.h> @@ -272,8 +271,6 @@ static ctl_table vm_table[] = { {VM_OVERCOMMIT_RATIO, "overcommit_ratio", &sysctl_overcommit_ratio, sizeof(sysctl_overcommit_ratio), 0644, NULL, &proc_dointvec}, - {VM_PAGERDAEMON, "kswapd", - &pager_daemon, sizeof(pager_daemon_t), 0644, NULL, &proc_dointvec}, {VM_PAGE_CLUSTER, "page-cluster", &page_cluster, sizeof(int), 0644, NULL, &proc_dointvec}, {VM_DIRTY_BACKGROUND, "dirty_background_ratio", |
