diff options
author | Paolo Valente <paolo.valente@linaro.org> | 2020-02-03 11:40:58 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-02-03 06:58:15 -0700 |
commit | 4d8340d0d4d90e7ca367d18ec16c2fefa89a339c (patch) | |
tree | b7a85ed945a5851f1c3be48fdfa06e453f70feeb /block/bfq-cgroup.c | |
parent | 33a16a9804688b2f4c4281ec31bc393ef2645ae4 (diff) |
block, bfq: remove ifdefs from around gets/puts of bfq groups
ifdefs around gets and puts of bfq groups reduce readability, remove them.
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Reported-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-cgroup.c')
-rw-r--r-- | block/bfq-cgroup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/block/bfq-cgroup.c b/block/bfq-cgroup.c index c818c64766e5..cae488b58049 100644 --- a/block/bfq-cgroup.c +++ b/block/bfq-cgroup.c @@ -1406,6 +1406,10 @@ 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) { struct bfq_group *bfqg; |