summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mvsas
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-06-22 08:36:35 +0200
committerJames Bottomley <JBottomley@Parallels.com>2012-07-20 09:58:54 +0200
commitcca85013ef54f66eb4616e6f3860549a96c8338b (patch)
treee99f65570e348bbede1bf34314793d85edfb3574 /drivers/scsi/mvsas
parent[SCSI] libsas: trim sas_task of slow path infrastructure (diff)
downloadlinux-cca85013ef54f66eb4616e6f3860549a96c8338b.tar.xz
linux-cca85013ef54f66eb4616e6f3860549a96c8338b.zip
[SCSI] mvsas: remove unused variable in mvs_task_exec()
We don't use "dev" any more after 07ec747a5f ("libsas: remove ata_port.lock management duties from lldds") and it causes a compile warning. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: Xiangliang Yu <yuxiangl@marvell.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/mvsas')
-rw-r--r--drivers/scsi/mvsas/mv_sas.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/mvsas/mv_sas.c b/drivers/scsi/mvsas/mv_sas.c
index 7d46c1ac1d52..4539d59a0857 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;