From 0eef47f3fe8d0cf6e09286ae327a3e5216875a26 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 10 Feb 2015 14:45:32 +0000 Subject: [PATCH] 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 --- scst_local/scst_local.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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);