diff options
author | Keith Busch <kbusch@kernel.org> | 2020-04-06 21:13:48 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-04-06 22:43:56 +0300 |
commit | 536167d47ade11a5540b4b1a7125308b1641da7a (patch) | |
tree | c6f6d8d729c0a6dc01880e56e3969ca6f013fbe2 /block/bfq-wf2q.c | |
parent | c52abf563049e787c1341cdf15c7dbe1bfbc951b (diff) | |
download | linux-536167d47ade11a5540b4b1a7125308b1641da7a.tar.xz |
blk-mq: don't commit_rqs() if none were queued
Unburden the drivers from checking if a call to commit_rqs() is valid by
not calling it when there are no requests to commit.
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-wf2q.c')
0 files changed, 0 insertions, 0 deletions