block: change return type to void
authorChaitanya Kulkarni <kch@nvidia.com>
Wed, 11 Feb 2026 20:44:38 +0000 (12:44 -0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 12 Feb 2026 11:23:53 +0000 (04:23 -0700)
commit453daece381e60df20da16c49ccc6a9bc5c6515a
treeda620e7e8b31cca9445b145cc0944a27b06de912
parent38d12f15c4772b5383b1249b2afb0d206a430f0f
block: change return type to void

Now that all the callers of __blkdev_issue_discard() have been changed
to ignore its return value, change its return type from int to void.

Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-lib.c
include/linux/blkdev.h