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--; }