diff options
author | Christoph Hellwig <hch@lst.de> | 2018-05-31 19:11:38 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-06-01 07:38:17 -0600 |
commit | ddb7253254fee6922764043101f8b28b6a00595d (patch) | |
tree | 07463c68dc65a1dbc0de3398d9145320f31ec41a /block/blk.h | |
parent | a8a275c9c2fb6bc9b45ad3e4187469726e2af7d1 (diff) |
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.h')
-rw-r--r-- | block/blk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk.h b/block/blk.h index a559c0532347..ab5ec2dadc7b 100644 --- a/block/blk.h +++ b/block/blk.h @@ -231,7 +231,7 @@ static inline void elv_deactivate_rq(struct request_queue *q, struct request *rq e->type->ops.sq.elevator_deactivate_req_fn(q, rq); } -int elevator_init(struct request_queue *, char *); +int elevator_init(struct request_queue *); void elevator_exit(struct request_queue *, struct elevator_queue *); int elv_register_queue(struct request_queue *q); void elv_unregister_queue(struct request_queue *q); |