net: ipv4: remove redundant initialization in inet_rtm_deladdr
authorMenglong Dong <menglong8.dong@gmail.com>
Sun, 8 Nov 2020 01:05:41 +0000 (09:05 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 Nov 2020 23:22:05 +0000 (15:22 -0800)
commit30e2379e823309ee015043ffaa522cf5a0cd00b1
tree0e8bea50549ceb58b35bb22fd47766cd9f657042
parent1ccd58331f6f2af73758e572f8aa0215b0cacc0e
net: ipv4: remove redundant initialization in inet_rtm_deladdr

The initialization for 'err' with '-EINVAL' is redundant and
can be removed, as it is updated soon.

Changes since v1:
- Remove redundant empty line

Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
Link: https://lore.kernel.org/r/20201108010541.12432-1-dong.menglong@zte.com.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/devinet.c