Message ID | 1604644960-48378-1-git-send-email-dong.menglong@zte.com.cn |
---|---|
State | New |
Headers | show |
Series | net: ipv4: remove redundant initialization in inet_rtm_deladdr | expand |
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index 123a6d3..847cb18 100644 --- a/net/ipv4/devinet.c +++ b/net/ipv4/devinet.c @@ -651,7 +651,7 @@ static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh, struct ifaddrmsg *ifm; struct in_ifaddr *ifa; - int err = -EINVAL; + int err; ASSERT_RTNL();