diff options
| author | 2022-07-06 09:03:38 +0200 | |
|---|---|---|
| committer | 2022-07-06 06:46:25 -0600 | |
| commit | 6deacb3bfac2b720e707c566549a7041f17db9c8 (patch) | |
| tree | 54decf2da049481ffceed99c6a50542a0d5eb319 /include/linux/blkdev.h | |
| parent | block: use bdev_is_zoned instead of open coding it (diff) | |
| download | linux-dev-6deacb3bfac2b720e707c566549a7041f17db9c8.tar.xz linux-dev-6deacb3bfac2b720e707c566549a7041f17db9c8.zip | |
block: simplify blk_mq_plug
Drop the unused q argument, and invert the check to move the exception
into a branch and the regular path as the normal return.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220706070350.1703384-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions
