diff options
| author | Christoph Hellwig <[email protected]> | 2024-11-19 16:11:51 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-11-20 02:06:57 +0000 |
| commit | 81314bfbde9d089fa2318adba54891dfaadb1c05 (patch) | |
| tree | 3c698aa3a024cb4eff91d2b2fb7a640e340f0e2b /drivers/platform/x86/intel/pmt/class.c | |
| parent | block: don't bother checking the data direction for merges (diff) | |
| download | kernel-81314bfbde9d089fa2318adba54891dfaadb1c05.tar.gz kernel-81314bfbde9d089fa2318adba54891dfaadb1c05.zip | |
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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: John Garry <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
