linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Seungwon Jeon <tgih.jun@samsung.com>
To: 'linux-scsi' <linux-scsi@vger.kernel.org>
Cc: 'James Bottomley' <James.Bottomley@HansenPartnership.com>
Subject: [PATCH 1/2] scsi: fix warning with unused variable
Date: Mon, 26 Aug 2013 23:19:27 +0900	[thread overview]
Message-ID: <003301cea267$45ea3070$d1be9150$%jun@samsung.com> (raw)
In-Reply-To: <1377512423.20958.7.camel@dabdike>

drivers/scsi/scsi_error.c:246:16: warning: unused variable 'flags' [-Wunused-variable]

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
---
 drivers/scsi/scsi_error.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index f16d1a6..83e591b 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -243,7 +243,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.0.4



  reply	other threads:[~2013-08-26 14:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26  4:28 [PATCH 3/3] arcmsr: Fix bug of updating adapter firmware through ioctl(ARCHTTP) interface 黃清隆
2013-08-26 10:20 ` James Bottomley
2013-08-26 14:19   ` Seungwon Jeon [this message]
2013-08-26 14:20   ` [PATCH 2/2] scsi: replace the deprecated flush_work_sync Seungwon Jeon
2013-09-03  7:59   ` [PATCH] scsi: ufs: " Seungwon Jeon
2013-09-03 16:41     ` Santosh Y

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='003301cea267$45ea3070$d1be9150$%jun@samsung.com' \
    --to=tgih.jun@samsung.com \
    --cc=James.Bottomley@HansenPartnership.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;
as well as URLs for NNTP newsgroup(s).