mvsas: remove unused variable in mvs_task_exec()
Subsystems (2)
PATCH 1/1 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 <[email protected]>
drivers/scsi/mvsas/mv_sas.c +0 -1
@@ -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 ;
Dan Williams
AppliedQuoted 5 lines · Dan Carpenter
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 <[email protected]>
Thanks, applied to my 'libsas' branch. I'll carry this until James picks it up.