diff options
author | Christoph Hellwig <hch@lst.de> | 2024-11-19 19:11:51 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-11-20 05:06:57 +0300 |
commit | 81314bfbde9d089fa2318adba54891dfaadb1c05 (patch) | |
tree | 3c698aa3a024cb4eff91d2b2fb7a640e340f0e2b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9f8d68283342a48f692f2c02231318bb4a7b207f (diff) | |
download | linux-81314bfbde9d089fa2318adba54891dfaadb1c05.tar.xz |
block: req->bio is always set in the merge code
As smatch, which is a lot smarter than me noticed. So remove the checks
for it, and condense these checks a bit including the comments stating
the obvious.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20241119161157.1328171-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions