diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-06-21 23:36:35 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-07-20 08:58:54 +0100 |
commit | cca85013ef54f66eb4616e6f3860549a96c8338b (patch) | |
tree | e99f65570e348bbede1bf34314793d85edfb3574 /drivers | |
parent | f0bf750c2d25c3a2131ececbff63c7878e0e3765 (diff) | |
download | linux-cca85013ef54f66eb4616e6f3860549a96c8338b.tar.gz linux-cca85013ef54f66eb4616e6f3860549a96c8338b.tar.bz2 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')
-rw-r--r-- | 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 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; |