scst_local: get rid of a checkpatch complaint for the procfs build.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3499 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2011-06-01 08:04:56 +00:00
parent 375597fedf
commit 6f8d4b7288

View File

@@ -1494,12 +1494,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);