aic7xxx: unmix declarations and code
Subsystems (2)
PATCH 1/1 aic7xxx: unmix declarations and code
Signed-off-by Alexey Dobriyan <[email protected]>
drivers/scsi/aic7xxx/aic7xxx_osm.c +3 -1
@@ -659,8 +659,10 @@ ahc_linux_slave_alloc(struct scsi_deviceahc_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;
Quoted 1 line · Alexey Dobriyan
Signed-off-by Alexey Dobriyan <[email protected]>
Hopefully this issue should be sorted out in the next go around of the aic7xxx cleanup.
James