summaryrefslogtreecommitdiff
path: root/crypto/async_tx/async_memset.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-08-29 19:09:26 -0700
committerDan Williams <dan.j.williams@intel.com>2009-08-29 19:09:26 -0700
commit7f33ecece81b95a7c2f8d814d39054851754f90e (patch)
treeef90438bf25f6a98a8c7e2bdc52b4b43631d241a /crypto/async_tx/async_memset.c
parent148c9a755e769dabb8fa353690429278fe396809 (diff)
downloadlinux-crypto-7f33ecece81b95a7c2f8d814d39054851754f90e.tar.gz
linux-crypto-7f33ecece81b95a7c2f8d814d39054851754f90e.zip
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 c1443723..b896a6e5 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,
}
EXPORT_SYMBOL_GPL(async_memset);
-static int __init async_memset_init(void)
-{
- return 0;
-}
-
-static void __exit async_memset_exit(void)
-{
- do { } while (0);
-}
-
-module_init(async_memset_init);
-module_exit(async_memset_exit);
-
MODULE_AUTHOR("Intel Corporation");
MODULE_DESCRIPTION("asynchronous memset api");
MODULE_LICENSE("GPL");