diff options
author | Dan Streetman <ddstreet@ieee.org> | 2015-09-08 18:05:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-08 18:35:28 -0400 |
commit | df69f52d990bd85159727bd26e819d3a6e49c666 (patch) | |
tree | 4b6a7ba075df52f4fd62ed23e42107a4cf8dd47a /mm | |
parent | c83db4f419e7105af38cdcca80cc51213214a2c8 (diff) |
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 <ddstreet@ieee.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/zpool.c | 14 |
1 files changed, 0 insertions, 14 deletions
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) | |||
320 | return zpool->driver->total_size(zpool->pool); | 320 | return zpool->driver->total_size(zpool->pool); |
321 | } | 321 | } |
322 | 322 | ||
323 | static int __init init_zpool(void) | ||
324 | { | ||
325 | pr_info("loaded\n"); | ||
326 | return 0; | ||
327 | } | ||
328 | |||
329 | static void __exit exit_zpool(void) | ||
330 | { | ||
331 | pr_info("unloaded\n"); | ||
332 | } | ||
333 | |||
334 | module_init(init_zpool); | ||
335 | module_exit(exit_zpool); | ||
336 | |||
337 | MODULE_LICENSE("GPL"); | 323 | MODULE_LICENSE("GPL"); |
338 | MODULE_AUTHOR("Dan Streetman <ddstreet@ieee.org>"); | 324 | MODULE_AUTHOR("Dan Streetman <ddstreet@ieee.org>"); |
339 | MODULE_DESCRIPTION("Common API for compressed memory storage"); | 325 | MODULE_DESCRIPTION("Common API for compressed memory storage"); |