diff options
author | Yu Kuai <yukuai3@huawei.com> | 2022-11-02 03:25:42 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-02 03:10:55 +0100 |
commit | aa625117d6f67e33fab280358855fdd332bb20ab (patch) | |
tree | 12ad0ff4e9ac82eb44da77d96318721e002b90d2 /block/bfq-iosched.h | |
parent | block, bfq: remove dead code for updating 'rq_in_driver' (diff) | |
download | linux-aa625117d6f67e33fab280358855fdd332bb20ab.tar.xz linux-aa625117d6f67e33fab280358855fdd332bb20ab.zip |
block, bfq: don't declare 'bfqd' as type 'void *' in bfq_group
Prevent unnecessary format conversion for bfqg->bfqd in multiple
places.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Acked-by: Paolo Valente <paolo.valente@unimore.it>
Link: https://lore.kernel.org/r/20221102022542.3621219-6-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.h')
-rw-r--r-- | block/bfq-iosched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h index 76363841d8ff..9fa89577322d 100644 --- a/block/bfq-iosched.h +++ b/block/bfq-iosched.h @@ -931,7 +931,7 @@ struct bfq_group { struct bfq_entity entity; struct bfq_sched_data sched_data; - void *bfqd; + struct bfq_data *bfqd; struct bfq_queue *async_bfqq[2][IOPRIO_NR_LEVELS]; struct bfq_queue *async_idle_bfqq; |