diff options
| author | Chaitanya Kulkarni <kch@nvidia.com> | 2026-02-11 12:44:36 -0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-02-12 04:23:53 -0700 |
| commit | 699fcfb6cb80a9df67fd2086a1c930d196d709f2 (patch) | |
| tree | 68cfc8807a8534c432ebacc2cd45aaf137707b6a /include/linux/ptp_clock_kernel.h | |
| parent | 81e7223b1a2d63b655ee72577c8579f968d037e3 (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/ptp_clock_kernel.h')
0 files changed, 0 insertions, 0 deletions
