summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/aic7xxx/aic79xx_core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_core.c b/drivers/scsi/aic7xxx/aic79xx_core.c
index 034f4eebb160..3efd4cdc40a0 100644
--- a/drivers/scsi/aic7xxx/aic79xx_core.c
+++ b/drivers/scsi/aic7xxx/aic79xx_core.c
@@ -6112,10 +6112,6 @@ ahd_alloc(void *platform_arg, char *name)
6112 ahd->int_coalescing_stop_threshold = 6112 ahd->int_coalescing_stop_threshold =
6113 AHD_INT_COALESCING_STOP_THRESHOLD_DEFAULT; 6113 AHD_INT_COALESCING_STOP_THRESHOLD_DEFAULT;
6114 6114
6115 if (ahd_platform_alloc(ahd, platform_arg) != 0) {
6116 ahd_free(ahd);
6117 ahd = NULL;
6118 }
6119#ifdef AHD_DEBUG 6115#ifdef AHD_DEBUG
6120 if ((ahd_debug & AHD_SHOW_MEMORY) != 0) { 6116 if ((ahd_debug & AHD_SHOW_MEMORY) != 0) {
6121 printk("%s: scb size = 0x%x, hscb size = 0x%x\n", 6117 printk("%s: scb size = 0x%x, hscb size = 0x%x\n",
@@ -6123,6 +6119,10 @@ ahd_alloc(void *platform_arg, char *name)
6123 (u_int)sizeof(struct hardware_scb)); 6119 (u_int)sizeof(struct hardware_scb));
6124 } 6120 }
6125#endif 6121#endif
6122 if (ahd_platform_alloc(ahd, platform_arg) != 0) {
6123 ahd_free(ahd);
6124 ahd = NULL;
6125 }
6126 return (ahd); 6126 return (ahd);
6127} 6127}
6128 6128