From: "Ewan D. Milne" <emilne@redhat.com>
To: linux-scsi@vger.kernel.org
Subject: [TRIVIAL PATCH 2/2] scsi: Remove unused variable "flags" from scsi_report_sense()
Date: Mon, 26 Aug 2013 13:06:40 -0400 [thread overview]
Message-ID: <1377536800-2298-3-git-send-email-emilne@redhat.com> (raw)
In-Reply-To: <1377536800-2298-1-git-send-email-emilne@redhat.com>
From: "Ewan D. Milne" <emilne@redhat.com>
Signed-off-by: Ewan D. Milne <emilne@redhat.com>
---
drivers/scsi/scsi_error.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index cf6fd20..7f95236 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -248,7 +248,6 @@ static void scsi_report_sense(struct scsi_device *sdev,
struct scsi_sense_hdr *sshdr)
{
enum scsi_device_event evt_type = SDEV_EVT_MAXBITS; /* i.e. none */
- unsigned long flags;
if (sshdr->sense_key == UNIT_ATTENTION) {
if (sshdr->asc == 0x3f && sshdr->ascq == 0x03) {
--
1.7.11.7
next prev parent reply other threads:[~2013-08-26 17:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-26 17:06 [TRIVIAL PATCH 0/2] Fix warnings in kernel build Ewan D. Milne
2013-08-26 17:06 ` [TRIVIAL PATCH 1/2] scsi: Add missing @sdev parameter description to scsi_report_sense() Ewan D. Milne
2013-08-26 17:06 ` Ewan D. Milne [this message]
2013-08-26 17:53 ` [TRIVIAL PATCH 0/2] Fix warnings in kernel build James Bottomley
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=1377536800-2298-3-git-send-email-emilne@redhat.com \
--to=emilne@redhat.com \
--cc=linux-scsi@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