From f239f4d07105df8a8a761e79f1f6bd9d099ec6dc Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 19 Nov 2013 08:14:08 +0000 Subject: [PATCH] ib_srpt: procfs build fix git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5123 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 7a6665431..9942bccda 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -2406,14 +2406,6 @@ static bool srpt_is_target_enabled(struct scst_tgt *scst_tgt) return srpt_tgt && srpt_tgt->enabled; } - -static int srpt_close_session(struct scst_session *sess) -{ - struct srpt_rdma_ch *ch = scst_sess_get_tgt_priv(sess); - - srpt_close_ch(ch); - return 0; -} #endif /** @@ -3525,6 +3517,14 @@ static int srpt_detect(struct scst_tgt_template *tp) return device_count; } +static int srpt_close_session(struct scst_session *sess) +{ + struct srpt_rdma_ch *ch = scst_sess_get_tgt_priv(sess); + + srpt_close_ch(ch); + return 0; +} + static int srpt_ch_list_empty(struct srpt_tgt *srpt_tgt) { int res;