aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/async_tx/async_memset.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-08-29 22:09:26 -0400
committerDan Williams <dan.j.williams@intel.com>2009-08-29 22:09:26 -0400
commitaf1f951eb6ef27b01cbfb3f6c21b770af4368a6d (patch)
tree2009d83f93be62856eebbe9a41310d8ead4a6a13 /crypto/async_tx/async_memset.c
parentad283ea4a3ce82cda2efe33163748a397b31b1eb (diff)
async_tx: kill needless module_{init|exit}
If module_init and module_exit are nops then neither need to be defined. [ Impact: pure cleanup ] Reviewed-by: Andre Noll <maan@systemlinux.org> Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'crypto/async_tx/async_memset.c')
-rw-r--r--crypto/async_tx/async_memset.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/crypto/async_tx/async_memset.c b/crypto/async_tx/async_memset.c
index c14437238f4c..b896a6e5f673 100644
--- a/crypto/async_tx/async_memset.c
+++ b/crypto/async_tx/async_memset.c
@@ -80,19 +80,6 @@ async_memset(struct page *dest, int val, unsigned int offset, size_t len,
80} 80}
81EXPORT_SYMBOL_GPL(async_memset); 81EXPORT_SYMBOL_GPL(async_memset);
82 82
83static int __init async_memset_init(void)
84{
85 return 0;
86}
87
88static void __exit async_memset_exit(void)
89{
90 do { } while (0);
91}
92
93module_init(async_memset_init);
94module_exit(async_memset_exit);
95
96MODULE_AUTHOR("Intel Corporation"); 83MODULE_AUTHOR("Intel Corporation");
97MODULE_DESCRIPTION("asynchronous memset api"); 84MODULE_DESCRIPTION("asynchronous memset api");
98MODULE_LICENSE("GPL"); 85MODULE_LICENSE("GPL");