From 50c4c8ded9ea6cb92d2f0252f10960c132945528 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 13 Aug 2013 18:35:45 +0000 Subject: [PATCH] fcst: Remove superfluous initialization from ft_sess_get() git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4956 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/ft_sess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fcst/ft_sess.c b/fcst/ft_sess.c index 5151343bd..be4145245 100644 --- a/fcst/ft_sess.c +++ b/fcst/ft_sess.c @@ -202,7 +202,7 @@ static struct ft_sess *ft_sess_get(struct fc_lport *lport, u32 port_id) #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 0) struct hlist_node *pos; #endif - struct ft_sess *sess = NULL; + struct ft_sess *sess; rcu_read_lock(); tport = rcu_dereference(lport->prov[FC_TYPE_FCP]);