block: let elv_register() return void
authorAdrian Bunk <bunk@kernel.org>
Wed, 12 Dec 2007 17:51:56 +0000 (18:51 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 18 Dec 2007 07:29:28 +0000 (08:29 +0100)
commit2fdd82bd8852ec8ebad5c69c45138da25c6f9273
treeff701ec0a8909fa50b79763a49a4eaada5aa759e
parent49565124b13bb16607e7f8fc8fb1d9c5c355a1a3
block: let elv_register() return void

elv_register() always returns 0, and there isn't anything it does where
it should return an error (the only error condition is so grave that
it's handled with a BUG_ON).

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/as-iosched.c
block/cfq-iosched.c
block/deadline-iosched.c
block/elevator.c
block/noop-iosched.c
include/linux/elevator.h