fcst: Remove an unused variable (merge r5605 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6045 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-02-10 13:19:14 +00:00
parent f7e9bfc4da
commit cb856ee924

View File

@@ -348,10 +348,8 @@ static struct ft_sess *ft_sess_delete(struct ft_tport *tport, u32 port_id)
*/
static void ft_sess_close(struct ft_sess *sess)
{
struct fc_lport *lport;
u32 port_id;
lport = sess->tport->lport;
port_id = sess->port_id;
if (port_id == -1)
return;