diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index 2e4e6b0dc..d2b9074b1 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -1697,12 +1697,11 @@ static int scst_local_driver_probe(struct device *dev) ret = -ENODEV; scsi_host_put(hpnt); goto out; - } #ifdef CONFIG_SCST_PROC - else { + } else { scsi_scan_host(hpnt); - } #endif + } out: TRACE_EXIT_RES(ret);