Commit ef141029 authored by luo penghao's avatar luo penghao Committed by David S. Miller
Browse files

ipv4: drop unused assignment



The assignment in the if statement will be overwritten by the
following statement

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarluo penghao <luo.penghao@zte.com.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 66f4beaa
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2558,7 +2558,6 @@ int ip_mc_msfget(struct sock *sk, struct ip_msfilter *msf,
	msf->imsf_fmode = pmc->sfmode;
	psl = rtnl_dereference(pmc->sflist);
	if (!psl) {
		len = 0;
		count = 0;
	} else {
		count = psl->sl_count;