]> git.baikalelectronics.ru Git - kernel.git/commit
bfq: Remove useless code in bfq_lookup_next_entity
authorGuoYong Zheng <zhenggy@chinatelecom.cn>
Fri, 17 Jun 2022 10:28:04 +0000 (18:28 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Jun 2022 12:29:12 +0000 (06:29 -0600)
commitb61c4d958cfe98fde6f988f6e3ac091cba18a9e9
tree45a14482ae43f599ba4e2bf2b535000c316f1ed7
parent41b21361fdfd65d081b962a700b38ab46d180bab
bfq: Remove useless code in bfq_lookup_next_entity

It is no need to judge entity is null or not here,
directly return entity is ok, so remove it.

Signed-off-by: GuoYong Zheng <zhenggy@chinatelecom.cn>
Link: https://lore.kernel.org/r/1655461684-19075-1-git-send-email-zhenggy@chinatelecom.cn
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-wf2q.c