Revert "block: add __init to elv_register"
authorJens Axboe <axboe@fb.com>
Sun, 22 Jun 2014 22:32:48 +0000 (16:32 -0600)
committerJens Axboe <axboe@fb.com>
Sun, 22 Jun 2014 22:34:11 +0000 (16:34 -0600)
This reverts commit b5097e956a4d2919ee248d6481e4204c5568ed5c.

The original commit is buggy, we do use the registration functions
at runtime, for instance when loading IO schedulers through sysfs.

Reported-by: Damien Wyart <damien.wyart@gmail.com>

No differences found