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
This commit is contained in:
Bart Van Assche
2013-05-18 15:48:17 +00:00
parent 9b674796d6
commit 88ae3b7c78
+2
View File
@@ -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)
{