[TRIVIAL PATCH 2/2] scsi: Remove unused variable "flags" from scsi_report_sense()

Ewan D. Milne
2013-08-26T17:06:43Z

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