diff options
author | Bart Van Assche <bvanassche@acm.org> | 2021-04-13 05:41:42 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-04-13 19:23:52 +0200 |
commit | 347b546d5a9bd5871279a29be3dce8b5aad47ef6 (patch) | |
tree | 5df7ce6479a833717bb4946c7a9d64d8e1adab67 | |
parent | block: move bio_list_copy_data to pktcdvd (diff) | |
download | linux-347b546d5a9bd5871279a29be3dce8b5aad47ef6.tar.xz linux-347b546d5a9bd5871279a29be3dce8b5aad47ef6.zip |
block: Remove an obsolete comment from sg_io()
Commit b7819b925918 ("block: remove the blk_execute_rq return value")
changed the return type of blk_execute_rq() from int into void. That
change made a comment in sg_io() obsolete. Hence remove that comment.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Link: https://lore.kernel.org/r/20210413034142.23460-1-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | block/scsi_ioctl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c index 1048b0925567..1b3fe99b83a6 100644 --- a/block/scsi_ioctl.c +++ b/block/scsi_ioctl.c @@ -353,10 +353,6 @@ static int sg_io(struct request_queue *q, struct gendisk *bd_disk, start_time = jiffies; - /* ignore return value. All information is passed back to caller - * (if he doesn't check that is his problem). - * N.B. a non-zero SCSI status is _not_ necessarily an error. - */ blk_execute_rq(bd_disk, rq, at_head); hdr->duration = jiffies_to_msecs(jiffies - start_time); |