elevator: remove redundant warnings on IO scheduler switch
authorJens Axboe <axboe@fb.com>
Wed, 10 May 2017 13:40:04 +0000 (07:40 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 10 May 2017 13:40:04 +0000 (07:40 -0600)
commit340ff3216799a947fe0b07bed8f0409ffc716be9
treea9404a8b344d77c1425e4a4230c1dbebf3c96ba5
parent43c1b3d6e536b7b21ed329ae54280d8ba308ba92
elevator: remove redundant warnings on IO scheduler switch

We warn twice for switching to a scheduler, if that switch fails.
As we also report the failure in the return value to the
sysfs write, remove the dmesg induced failures.

Keep the failure print for warning to switch to the kconfig
selected IO scheduler, as we can't report errors for that in
any other way.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/elevator.c