* [PATCH] scsi: remove unused label
@ 2014-10-23 12:32 Sudip Mukherjee
2014-10-23 14:09 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Sudip Mukherjee @ 2014-10-23 12:32 UTC (permalink / raw)
To: Jens Axboe; +Cc: Sudip Mukherjee, linux-kernel
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.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
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.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-23 14:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-23 12:32 [PATCH] scsi: remove unused label Sudip Mukherjee
2014-10-23 14:09 ` Jens Axboe
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.