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

ipv4: Remove duplicate assignments



there is a same action when the variable is initialized

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 ef141029
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -672,7 +672,6 @@ struct sk_buff *ip_frag_next(struct sk_buff *skb, struct ip_frag_state *state)
	struct sk_buff *skb2;
	struct iphdr *iph;

	len = state->left;
	/* IF: it doesn't fit, use 'mtu' - the data space left */
	if (len > state->mtu)
		len = state->mtu;