From: Dan Streetman Date: Tue, 8 Sep 2015 22:05:09 +0000 (-0700) Subject: zpool: remove no-op module init/exit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=df69f52d990bd85159727bd26e819d3a6e49c666;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git zpool: remove no-op module init/exit Remove zpool_init() and zpool_exit(); they do nothing other than print "loaded" and "unloaded". Signed-off-by: Dan Streetman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/zpool.c b/mm/zpool.c index 951db32b833f..68d2dd8ed2d8 100644 --- a/mm/zpool.c +++ b/mm/zpool.c @@ -320,20 +320,6 @@ u64 zpool_get_total_size(struct zpool *zpool) return zpool->driver->total_size(zpool->pool); } -static int __init init_zpool(void) -{ - pr_info("loaded\n"); - return 0; -} - -static void __exit exit_zpool(void) -{ - pr_info("unloaded\n"); -} - -module_init(init_zpool); -module_exit(exit_zpool); - MODULE_LICENSE("GPL"); MODULE_AUTHOR("Dan Streetman "); MODULE_DESCRIPTION("Common API for compressed memory storage");