aboutsummaryrefslogtreecommitdiffstats
path: root/fs/eventpoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/eventpoll.c')
-rw-r--r--fs/eventpoll.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 2831c8f9f3e3..e224abfd9197 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -11,7 +11,6 @@
11 * 11 *
12 */ 12 */
13 13
14#include <linux/module.h>
15#include <linux/init.h> 14#include <linux/init.h>
16#include <linux/kernel.h> 15#include <linux/kernel.h>
17#include <linux/sched.h> 16#include <linux/sched.h>
@@ -1471,16 +1470,5 @@ static int __init eventpoll_init(void)
1471 1470
1472 return 0; 1471 return 0;
1473} 1472}
1473fs_initcall(eventpoll_init);
1474 1474
1475
1476static void __exit eventpoll_exit(void)
1477{
1478 /* Undo all operations done inside eventpoll_init() */
1479 kmem_cache_destroy(pwq_cache);
1480 kmem_cache_destroy(epi_cache);
1481}
1482
1483module_init(eventpoll_init);
1484module_exit(eventpoll_exit);
1485
1486MODULE_LICENSE("GPL");