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

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5689 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-07-20 06:03:55 +00:00
parent c7e2e9d044
commit 2ab0ad7935
-2
View File
@@ -350,10 +350,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;