diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-08-29 22:09:26 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-08-29 22:09:26 -0400 |
commit | af1f951eb6ef27b01cbfb3f6c21b770af4368a6d (patch) | |
tree | 2009d83f93be62856eebbe9a41310d8ead4a6a13 /crypto/async_tx/async_memset.c | |
parent | ad283ea4a3ce82cda2efe33163748a397b31b1eb (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.c | 13 |
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 | } |
81 | EXPORT_SYMBOL_GPL(async_memset); | 81 | EXPORT_SYMBOL_GPL(async_memset); |
82 | 82 | ||
83 | static int __init async_memset_init(void) | ||
84 | { | ||
85 | return 0; | ||
86 | } | ||
87 | |||
88 | static void __exit async_memset_exit(void) | ||
89 | { | ||
90 | do { } while (0); | ||
91 | } | ||
92 | |||
93 | module_init(async_memset_init); | ||
94 | module_exit(async_memset_exit); | ||
95 | |||
96 | MODULE_AUTHOR("Intel Corporation"); | 83 | MODULE_AUTHOR("Intel Corporation"); |
97 | MODULE_DESCRIPTION("asynchronous memset api"); | 84 | MODULE_DESCRIPTION("asynchronous memset api"); |
98 | MODULE_LICENSE("GPL"); | 85 | MODULE_LICENSE("GPL"); |