diff options
Diffstat (limited to 'drivers/block/as-iosched.c')
-rw-r--r-- | drivers/block/as-iosched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/as-iosched.c b/drivers/block/as-iosched.c index 564172234819..c6744ff38294 100644 --- a/drivers/block/as-iosched.c +++ b/drivers/block/as-iosched.c | |||
@@ -1973,8 +1973,8 @@ static int __init as_init(void) | |||
1973 | 1973 | ||
1974 | static void __exit as_exit(void) | 1974 | static void __exit as_exit(void) |
1975 | { | 1975 | { |
1976 | kmem_cache_destroy(arq_pool); | ||
1977 | elv_unregister(&iosched_as); | 1976 | elv_unregister(&iosched_as); |
1977 | kmem_cache_destroy(arq_pool); | ||
1978 | } | 1978 | } |
1979 | 1979 | ||
1980 | module_init(as_init); | 1980 | module_init(as_init); |