Skip to contentSkip to conversation

sym53c8xx: Remove pointers scriptb0

PATCH New Christos Gkekas 1 participant 1 message Oct 14, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sym53c8xx: Remove pointers scriptb0

Pointers 'scriptb0' are set but never used, so need to be deleted.

---
 drivers/scsi/sym53c8xx_2/sym_fw.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/scsi/sym53c8xx_2/sym_fw.c +0 -4
index 190770b..91db177 100644
@@ -295,10 +295,8 @@ static void
 sym_fw1_setup(struct sym_hcb *np, struct sym_fw *fw)
 {
 	struct sym_fw1a_scr *scripta0;
-	struct sym_fw1b_scr *scriptb0;
 
 	scripta0 = (struct sym_fw1a_scr *) np->scripta0;
-	scriptb0 = (struct sym_fw1b_scr *) np->scriptb0;
 
 	/*
 	 *  Fill variable parts in scripts.
@@ -319,10 +317,8 @@ static void
 sym_fw2_setup(struct sym_hcb *np, struct sym_fw *fw)
 {
 	struct sym_fw2a_scr *scripta0;
-	struct sym_fw2b_scr *scriptb0;
 
 	scripta0 = (struct sym_fw2a_scr *) np->scripta0;
-	scriptb0 = (struct sym_fw2b_scr *) np->scriptb0;
 
 	/*
 	 *  Fill variable parts in scripts.
Signature · 1 line
2.7.4