From: Bart Van Assche Date: Fri, 17 Jun 2022 20:44:33 +0000 (-0700) Subject: block: bfq: Remove an unused function definition X-Git-Tag: v6.0-rc1~26^2~71 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=c28c49b09e493adf5f79201d6de2d16d9356e9eb;p=tomoyo%2Ftomoyo-test1.git block: bfq: Remove an unused function definition This patch is the result of the analysis of a sparse report. Cc: Jan Kara Signed-off-by: Bart Van Assche Signed-off-by: Jens Axboe Link: https://lore.kernel.org/r/20220617204433.102022-1-bvanassche@acm.org --- diff --git a/block/bfq-cgroup.c b/block/bfq-cgroup.c index 09574af83566..dc0fa93219df 100644 --- a/block/bfq-cgroup.c +++ b/block/bfq-cgroup.c @@ -1471,8 +1471,6 @@ struct bfq_group *bfqq_group(struct bfq_queue *bfqq) return bfqq->bfqd->root_group; } -void bfqg_and_blkg_get(struct bfq_group *bfqg) {} - void bfqg_and_blkg_put(struct bfq_group *bfqg) {} struct bfq_group *bfq_create_group_hierarchy(struct bfq_data *bfqd, int node)