From: Fabian Frederick <fabf@skynet.be>
To: linux-kernel@vger.kernel.org
Cc: Fabian Frederick <fabf@skynet.be>, Jens Axboe <axboe@kernel.dk>
Subject: [PATCH 1/1 linux-next] scsi: remove unused label in sg_scsi_ioctl()
Date: Thu, 23 Oct 2014 20:23:21 +0200 [thread overview]
Message-ID: <1414088601-24249-1-git-send-email-fabf@skynet.be> (raw)
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
next reply other threads:[~2014-10-23 18:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-23 18:23 Fabian Frederick [this message]
2014-10-23 18:34 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1414088601-24249-1-git-send-email-fabf@skynet.be \
--to=fabf@skynet.be \
--cc=axboe@kernel.dk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®