mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
epoll cleanups: epoll no module
Epoll is either compiled it, or not (if EMBEDDED). Remove the module code and use fs_initcall(). Signed-off-by: Davide Libenzi <davidel@xmailserver.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
da66f7cb0f
commit
cea6924187
1 changed files with 1 additions and 13 deletions
|
@ -11,7 +11,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/sched.h>
|
||||
|
@ -1471,16 +1470,5 @@ static int __init eventpoll_init(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
fs_initcall(eventpoll_init);
|
||||
|
||||
|
||||
static void __exit eventpoll_exit(void)
|
||||
{
|
||||
/* Undo all operations done inside eventpoll_init() */
|
||||
kmem_cache_destroy(pwq_cache);
|
||||
kmem_cache_destroy(epi_cache);
|
||||
}
|
||||
|
||||
module_init(eventpoll_init);
|
||||
module_exit(eventpoll_exit);
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
Loading…
Reference in a new issue