mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
49565124b1
commit
2fdd82bd88
6 changed files with 13 additions and 12 deletions
|
|
@ -467,7 +467,9 @@ static struct elevator_type iosched_deadline = {
|
|||
|
||||
static int __init deadline_init(void)
|
||||
{
|
||||
return elv_register(&iosched_deadline);
|
||||
elv_register(&iosched_deadline);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void __exit deadline_exit(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue