mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08:00
ipv4: Remove duplicate assignments
there is a same action when the variable is initialized Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: luo penghao <luo.penghao@zte.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ef14102914
commit
0de3521500
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user