[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <201204111628.q3BGSEm2005145@farm-0002.internal.tilera.com>
Date: Wed, 11 Apr 2012 12:23:11 -0400
From: Chris Metcalf <cmetcalf@...era.com>
To: "James E.J. Bottomley" <JBottomley@...allels.com>,
Xiangliang Yu <yuxiangl@...vell.com>,
Dan Williams <dan.j.williams@...el.com>,
James Bottomley <James.Bottomley@...e.de>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] mvsas: get rid of a dead variable that causes a warning
The "dev" variable in mvs_task_exec() is no longer used and
generates a warning when building the kernel.
Signed-off-by: Chris Metcalf <cmetcalf@...era.com>
---
drivers/scsi/mvsas/mv_sas.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/mvsas/mv_sas.c b/drivers/scsi/mvsas/mv_sas.c
index fd3b283..3006ec9 100644
--- a/drivers/scsi/mvsas/mv_sas.c
+++ b/drivers/scsi/mvsas/mv_sas.c
@@ -885,7 +885,6 @@ static int mvs_task_exec(struct sas_task *task, const int num, gfp_t gfp_flags,
struct completion *completion, int is_tmf,
struct mvs_tmf_task *tmf)
{
- struct domain_device *dev = task->dev;
struct mvs_info *mvi = NULL;
u32 rc = 0;
u32 pass = 0;
--
1.6.5.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists