Skip to contentSkip to conversation

scsi/mvsas: Remove an unused variable

PATCH In review joseph daniel 2 participants 2 messages Apr 30, 2012 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi/mvsas: Remove an unused variable

the pointer of type struct domain_device is not used anywhere in the code.

---
 drivers/scsi/mvsas/mv_sas.c |    1 -
 1 file changed, 1 deletion(-)
drivers/scsi/mvsas/mv_sas.c +0 -1
index fd3b283..3006ec9 100644
@@ -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;
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 2 lines · joseph daniel

the pointer of type struct domain_device is not used anywhere in the code.

This is already fixed in linux-next.

regards,
dan carpenter