block: Remove an obsolete comment from sg_io()
PATCH 1/1 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.
--- block/scsi_ioctl.c | 4 ---- 1 file changed, 4 deletions(-)
block/scsi_ioctl.c +0 -4
@@ -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);
Quoted 7 lines · Bart Van Assche
Commit
b7819b925918("block: remove theblk_execute_rqreturn value") changed the return type ofblk_execute_rq()from int into void. That change made a comment insg_io()obsolete. Hence remove that comment.Cc Christoph Hellwig <[email protected]>Cc Johannes Thumshirn <[email protected]>Signed-off-by Bart Van Assche <[email protected]>
Looks good.
Quoted 20 lines · Bart Van Assche
Commit
b7819b925918("block: remove theblk_execute_rqreturn value") changed the return type ofblk_execute_rq()from int into void. That change made a comment insg_io()obsolete. Hence remove that comment.Cc Christoph Hellwig <[email protected]>Cc Johannes Thumshirn <[email protected]>Signed-off-by Bart Van Assche <[email protected]>---
block/scsi_ioctl.c| 4 ----1 file changed, 4 deletions(-)block/scsi_ioctl.c +0
-0
block/scsi_ioctl.c static int sg_io(struct request_queue *q, struct gendisk *bd_disk, · line 358
Quoted 10 lines
block/scsi_ioctl.c +0
-4@@ -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);
Looks Good.
--
Himanshu Madhani Oracle Linux Engineering
Quoted 3 lines · Bart Van Assche
Commit
b7819b925918("block: remove theblk_execute_rqreturn value") changed the return type ofblk_execute_rq()from int into void. That change made a comment insg_io()obsolete. Hence remove that comment.
Thanks, applied.
Signature · 1 line
Jens Axboe