aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mvsas/mv_sas.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-06-22 02:36:35 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-07-20 03:58:54 -0400
commitcca85013ef54f66eb4616e6f3860549a96c8338b (patch)
treee99f65570e348bbede1bf34314793d85edfb3574 /drivers/scsi/mvsas/mv_sas.c
parentf0bf750c2d25c3a2131ececbff63c7878e0e3765 (diff)
[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/mv_sas.c')
-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,
885 struct completion *completion, int is_tmf, 885 struct completion *completion, int is_tmf,
886 struct mvs_tmf_task *tmf) 886 struct mvs_tmf_task *tmf)
887{ 887{
888 struct domain_device *dev = task->dev;
889 struct mvs_info *mvi = NULL; 888 struct mvs_info *mvi = NULL;
890 u32 rc = 0; 889 u32 rc = 0;
891 u32 pass = 0; 890 u32 pass = 0;