summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-sched.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-31 19:11:38 +0200
committerJens Axboe <axboe@kernel.dk>2018-06-01 15:38:17 +0200
commitddb7253254fee6922764043101f8b28b6a00595d (patch)
tree07463c68dc65a1dbc0de3398d9145320f31ec41a /block/blk-mq-sched.c
parentblock: unexport elevator_init/exit (diff)
downloadlinux-ddb7253254fee6922764043101f8b28b6a00595d.tar.xz
linux-ddb7253254fee6922764043101f8b28b6a00595d.zip
block: remove the always unused name argument to elevator_init
Reported-by: Damien Le Moal <Damien.LeMoal@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Tested-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sched.c')
-rw-r--r--block/blk-mq-sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq-sched.c b/block/blk-mq-sched.c
index b0f2c2a40a0c..fd4f68d61df0 100644
--- a/block/blk-mq-sched.c
+++ b/block/blk-mq-sched.c
@@ -653,7 +653,7 @@ int blk_mq_sched_init(struct request_queue *q)
int ret;
mutex_lock(&q->sysfs_lock);
- ret = elevator_init(q, NULL);
+ ret = elevator_init(q);
mutex_unlock(&q->sysfs_lock);
return ret;