linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] zpool: remove no-op module init/exit
@ 2015-08-18 19:59 Dan Streetman
  0 siblings, 0 replies; only message in thread
From: Dan Streetman @ 2015-08-18 19:59 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-mm, Dan Streetman

Remove zpool_init() and zpool_exit(); they do nothing other than
print "loaded" and "unloaded".

Signed-off-by: Dan Streetman <ddstreet@ieee.org>
---
 mm/zpool.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/mm/zpool.c b/mm/zpool.c
index d8cf7cd..8f670d3 100644
--- a/mm/zpool.c
+++ b/mm/zpool.c
@@ -353,20 +353,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 <ddstreet@ieee.org>");
 MODULE_DESCRIPTION("Common API for compressed memory storage");
-- 
2.1.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-18 20:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-18 19:59 [PATCH] zpool: remove no-op module init/exit Dan Streetman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).