block, bfq: don't return bfqg from __bfq_bic_change_cgroup()
The return value is not used, hence remove it. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20221214033155.3455754-2-yukuai1@huaweicloud.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
64dc8c732f
commit
452af7dc59
|
@ -724,7 +724,7 @@ void bfq_bfqq_move(struct bfq_data *bfqd, struct bfq_queue *bfqq,
|
||||||
* sure that the reference to cgroup is valid across the call (see
|
* sure that the reference to cgroup is valid across the call (see
|
||||||
* comments in bfq_bic_update_cgroup on this issue)
|
* comments in bfq_bic_update_cgroup on this issue)
|
||||||
*/
|
*/
|
||||||
static void *__bfq_bic_change_cgroup(struct bfq_data *bfqd,
|
static void __bfq_bic_change_cgroup(struct bfq_data *bfqd,
|
||||||
struct bfq_io_cq *bic,
|
struct bfq_io_cq *bic,
|
||||||
struct bfq_group *bfqg)
|
struct bfq_group *bfqg)
|
||||||
{
|
{
|
||||||
|
@ -776,8 +776,6 @@ static void *__bfq_bic_change_cgroup(struct bfq_data *bfqd,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return bfqg;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void bfq_bic_update_cgroup(struct bfq_io_cq *bic, struct bio *bio)
|
void bfq_bic_update_cgroup(struct bfq_io_cq *bic, struct bio *bio)
|
||||||
|
|
Loading…
Reference in New Issue