From cf8d18cba8bcf1d14d77b2ee32bd57822bbc2c31 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 13 Aug 2013 18:37:00 +0000 Subject: [PATCH] fcst: Remove ft_prlo() function header and a comment git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4959 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/ft_sess.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/fcst/ft_sess.c b/fcst/ft_sess.c index 4a2967ba6..6f91e7b94 100644 --- a/fcst/ft_sess.c +++ b/fcst/ft_sess.c @@ -494,9 +494,6 @@ static void ft_sess_put(struct ft_sess *sess) kref_put(&sess->kref, ft_sess_free); } -/* - * Handle PRLO. - */ static void ft_prlo(struct fc_rport_priv *rdata) { struct ft_sess *sess; @@ -515,13 +512,6 @@ static void ft_prlo(struct fc_rport_priv *rdata) } mutex_unlock(&ft_lport_lock); - /* - * Release the session hold from the table. - * When all command-starting threads have returned, - * kref will call ft_sess_free which will unregister - * the session. - * fcmds referencing the session are safe. - */ ft_sess_put(sess); /* release from table */ rdata->prli_count--; }