diff options
| author | 2026-02-11 12:44:36 -0800 | |
|---|---|---|
| committer | 2026-02-12 04:23:53 -0700 | |
| commit | 699fcfb6cb80a9df67fd2086a1c930d196d709f2 (patch) | |
| tree | 68cfc8807a8534c432ebacc2cd45aaf137707b6a /include/linux/hsi/ssh:/git@git.zx2c4.com | |
| parent | block: fix partial IOVA mapping cleanup in blk_rq_dma_map_iova (diff) | |
md: ignore discard return value
__blkdev_issue_discard() always returns 0, making all error checking at
call sites dead code.
Simplify md to only check !discard_bio by ignoring the
__blkdev_issue_discard() value.
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/hsi/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
