]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Mark cfq_exit as an exit function
authorJens Axboe <axboe@suse.de>
Sun, 14 Nov 2004 11:37:08 +0000 (03:37 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 14 Nov 2004 11:37:08 +0000 (03:37 -0800)
Mark cfq_exit function as and exit function, and make it static.

Signed-off-by: Chris Wright <chris@osdl.org>
Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/cfq-iosched.c

index cbfbaca6cf289aa267658a232284a1d90543e49b..5baf2c725984abf47cd4cca87d3417dcb5a566d3 100644 (file)
@@ -1920,7 +1920,7 @@ int cfq_init(void)
        return ret;
 }
 
-void cfq_exit(void)
+static void __exit cfq_exit(void)
 {
        cfq_slab_kill();
        elv_unregister(&iosched_cfq);