* [PATCH 1/1 linux-next] scsi: remove unused label in sg_scsi_ioctl()
@ 2014-10-23 18:23 Fabian Frederick
2014-10-23 18:34 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Fabian Frederick @ 2014-10-23 18:23 UTC (permalink / raw)
To: linux-kernel; +Cc: Fabian Frederick, Jens Axboe
label 'out' is unused since commit 374f8fdea4aa
("scsi: Fix error handling in SCSI_IOCTL_SEND_COMMAND")
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
block/scsi_ioctl.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c
index cc7927a..d1ae462 100644
--- a/block/scsi_ioctl.c
+++ b/block/scsi_ioctl.c
@@ -516,8 +516,6 @@ int sg_scsi_ioctl(struct request_queue *q, struct gendisk *disk, fmode_t mode,
rq->sense_len = 0;
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.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1 linux-next] scsi: remove unused label in sg_scsi_ioctl()
2014-10-23 18:23 [PATCH 1/1 linux-next] scsi: remove unused label in sg_scsi_ioctl() Fabian Frederick
@ 2014-10-23 18:34 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2014-10-23 18:34 UTC (permalink / raw)
To: Fabian Frederick, linux-kernel
On 10/23/2014 12:23 PM, Fabian Frederick wrote:
> label 'out' is unused since commit 374f8fdea4aa
> ("scsi: Fix error handling in SCSI_IOCTL_SEND_COMMAND")
This got fixed up yesterday.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-23 18:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-23 18:23 [PATCH 1/1 linux-next] scsi: remove unused label in sg_scsi_ioctl() Fabian Frederick
2014-10-23 18:34 ` 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.