VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Bart Van Assche <bvanassche@acm.org> 2021-04-12 20:41:42 -0700 committer: Jens Axboe <axboe@kernel.dk> 2021-04-13 11:23:52 -0600 commit: 347b546d5a9bd5871279a29be3dce8b5aad47ef6 parent: 5f03414d4098b5718f1a5e99b43b9d9cb6f3612a
Commit Summary:
block: Remove an obsolete comment from sg_io()
Diffstat:
1 file 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);