projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c83db4f
)
zpool: remove no-op module init/exit
author
Dan Streetman
<
[email protected]
>
Tue, 8 Sep 2015 22:05:09 +0000
(15:05 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 8 Sep 2015 22:35:28 +0000
(15:35 -0700)
Remove zpool_init() and zpool_exit(); they do nothing other than print
"loaded" and "unloaded".
Signed-off-by: Dan Streetman <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/zpool.c
patch
|
blob
|
history
diff --git
a/mm/zpool.c
b/mm/zpool.c
index 951db32b833f38b3295a9b2ba42e17d54f76d6cc..68d2dd8ed2d8c6b43b6ed8e3f2f9cb29a287049f 100644
(file)
--- 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 <
[email protected]
>");
MODULE_DESCRIPTION("Common API for compressed memory storage");