Chaitanya,
> __blkdev_issue_discard() always returns 0, making the error checking > in nvmet_bdev_discard_range() dead code. > > Kill the function nvmet_bdev_discard_range() and call > __blkdev_issue_discard() directly from nvmet_bdev_execute_discard(), > since no error handling is needed anymore for __blkdev_issue_discard() > call. Looks good. Reviewed-by: Martin K. Petersen <[email protected]> -- Martin K. Petersen
