Apparently it used to be possible to call the detect method twice. That's not possible any more with the new style init routine. Signed-off-by: Matthew Wilcox <matthew@xxxxxx> --- drivers/scsi/advansys.c | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c index 1be68c5..3a006ed 100644 --- a/drivers/scsi/advansys.c +++ b/drivers/scsi/advansys.c @@ -17888,18 +17888,9 @@ advansys_board_found(int iop, struct device *dev, int bus_type) */ static int __init advansys_detect(void) { - static int detect_called = ASC_FALSE; int iop, bus, ioport = 0; struct Scsi_Host *shost; - if (detect_called == ASC_FALSE) { - detect_called = ASC_TRUE; - } else { - printk - ("AdvanSys SCSI: advansys_detect() multiple calls ignored\n"); - return 0; - } - ASC_DBG(1, "advansys_detect: begin\n"); asc_board_count = 0; -- 1.4.4.4 - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html