Skip to contentSkip to conversation

scsi: remove unused label

PATCH In review Sudip Mukherjee 2 participants 2 messages Oct 23, 2014 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: remove unused label

commit "374f8fdea4aabec8e918cf9951e51bfa4f570ea8" has fixed a problem by jumping to the correct label,but the previous incorrect label was not removed and it was still there in the code unused.

---
 block/scsi_ioctl.c | 1 -
 1 file changed, 1 deletion(-)
block/scsi_ioctl.c +0 -1
index cc7927a..1e053d9 100644
@@ -517,7 +517,6 @@ int sg_scsi_ioctl(struct request_queue *q, struct gendisk *disk, fmode_t mode,
 
 	blk_execute_rq(q, disk, rq, 0);
 
-out:
 	err = rq->errors & 0xff;	/* only 8 bit SCSI status */
 	if (err) {
 		if (rq->sense_len && rq->sense) {
Signature · 1 line
1.8.1.2
maintainer
#1 lore raw
Quoted 3 lines · Sudip Mukherjee

commit "374f8fdea4aabec8e918cf9951e51bfa4f570ea8" has fixed a problem by jumping to the correct label,but the previous incorrect label was not removed and it was still there in the code unused.

This one was fixed yesterday.

Signature · 1 line
Jens Axboe