Message ID | 1604644960-48378-3-git-send-email-dong.menglong@zte.com.cn |
---|---|
State | New |
Headers | show |
Series | net: udp: remove redundant initialization in udp_gro_complete | expand |
diff --git a/net/ipv4/udp_offload.c b/net/ipv4/udp_offload.c index b8b1fde..65860f8 100644 --- a/net/ipv4/udp_offload.c +++ b/net/ipv4/udp_offload.c @@ -554,7 +554,7 @@ int udp_gro_complete(struct sk_buff *skb, int nhoff, { __be16 newlen = htons(skb->len - nhoff); struct udphdr *uh = (struct udphdr *)(skb->data + nhoff); - int err = -ENOSYS; + int err; struct sock *sk; uh->len = newlen;