Jingoo Han
2014-10-24 02:23:28 UTC
Since commit "scsi: Fix error handling in SCSI_IOCTL_SEND_COMMAND",
the 'out' label is not used anymore. Thus, remove the unnecesary
label.
Cc: Jan Kara <***@suse.cz>
Signed-off-by: Jingoo Han <***@samsung.com>
---
block/scsi_ioctl.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c
index cc7927a..1e053d9 100644
--- a/block/scsi_ioctl.c
+++ b/block/scsi_ioctl.c
@@ -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) {
the 'out' label is not used anymore. Thus, remove the unnecesary
label.
Cc: Jan Kara <***@suse.cz>
Signed-off-by: Jingoo Han <***@samsung.com>
---
block/scsi_ioctl.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c
index cc7927a..1e053d9 100644
--- a/block/scsi_ioctl.c
+++ b/block/scsi_ioctl.c
@@ -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) {
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html