Skip to contentSkip to conversation

aic7xxx: unmix declarations and code

PATCH In review Alexey Dobriyan 2 participants 2 messages May 21, 2005 – May 24, 2005

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

PATCH 1/1 aic7xxx: unmix declarations and code

drivers/scsi/aic7xxx/aic7xxx_osm.c +3 -1
@@ -659,8 +659,10 @@ ahc_linux_slave_alloc(struct scsi_device
 	ahc_lock(ahc, &flags);
 	targ = ahc->platform_data->targets[target_offset];
 	if (targ == NULL) {
+		struct seeprom_config *sc;
+
 		targ = ahc_linux_alloc_target(ahc, starget->channel, starget->id);
-		struct seeprom_config *sc = ahc->seep_config;
+		sc = ahc->seep_config;
 		if (targ == NULL)
 			goto out;