[PATCH 1/3] vmevent: Remove unused code

From: Anton Vorontsov
Date: Thu Oct 04 2012 - 06:24:06 EST


struct vmevent_watch_event and a few definitions are not used anywhere, so
let's remove them.

Signed-off-by: Anton Vorontsov <anton.vorontsov@xxxxxxxxxx>
---
mm/vmevent.c | 10 ----------
1 file changed, 10 deletions(-)

diff --git a/mm/vmevent.c b/mm/vmevent.c
index a7f1042..39ef786 100644
--- a/mm/vmevent.c
+++ b/mm/vmevent.c
@@ -11,16 +11,6 @@
#include <linux/swap.h>
#undef nr_swap_pages /* This is defined to a constant for SWAP=n case */

-#define VMEVENT_MAX_FREE_THRESHOD 100
-
-#define VMEVENT_MAX_EATTR_ATTRS 64
-
-struct vmevent_watch_event {
- u64 nr_avail_pages;
- u64 nr_free_pages;
- u64 nr_swap_pages;
-};
-
struct vmevent_watch {
struct vmevent_config config;

--
1.7.12.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/