From 88ae3b7c787d68f69d2e7363af34b137137569fd Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 18 May 2013 15:48:17 +0000 Subject: [PATCH] iSCSI-SCST: Fix a sparse warning introduced via r4852 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4854 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/iscsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iscsi-scst/kernel/iscsi.c b/iscsi-scst/kernel/iscsi.c index 263f2eeec..90601c4aa 100644 --- a/iscsi-scst/kernel/iscsi.c +++ b/iscsi-scst/kernel/iscsi.c @@ -3822,6 +3822,7 @@ out_err: return; } +#ifndef CONFIG_SCST_PROC static int iscsi_close_sess(struct scst_session *scst_sess) { struct iscsi_session *sess = scst_sess_get_tgt_priv(scst_sess); @@ -3839,6 +3840,7 @@ static int iscsi_close_sess(struct scst_session *scst_sess) out: return res; } +#endif static int iscsi_target_detect(struct scst_tgt_template *templ) {