mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 11:41:26 +00:00
scst_local: get rid of a checkpatch complaint for the procfs build (merge r3499 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6077 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user