summaryrefslogtreecommitdiffstats
path: root/block/bfq-cgroup.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2022-06-17 22:44:33 +0200
committerJens Axboe <axboe@kernel.dk>2022-06-27 14:29:12 +0200
commitc28c49b09e493adf5f79201d6de2d16d9356e9eb (patch)
tree0bf804b1c9c6f89004fc96ba0e46df1af9128844 /block/bfq-cgroup.c
parentbfq: Remove useless code in bfq_lookup_next_entity (diff)
downloadlinux-c28c49b09e493adf5f79201d6de2d16d9356e9eb.tar.xz
linux-c28c49b09e493adf5f79201d6de2d16d9356e9eb.zip
block: bfq: Remove an unused function definition
This patch is the result of the analysis of a sparse report. Cc: Jan Kara <jack@suse.cz> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jens Axboe <axboe@kernel.dk> Link: https://lore.kernel.org/r/20220617204433.102022-1-bvanassche@acm.org
Diffstat (limited to 'block/bfq-cgroup.c')
-rw-r--r--block/bfq-cgroup.c2
1 files changed, 0 insertions, 2 deletions
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)