mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 00:08:50 +00:00
[DECNET]: Remove extra memset from dn_fib_check_nh
Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
875179fa60
commit
dd88590995
@ -203,8 +203,6 @@ static int dn_fib_check_nh(const struct rtmsg *r, struct dn_fib_info *fi, struct
|
|||||||
struct flowi fl;
|
struct flowi fl;
|
||||||
struct dn_fib_res res;
|
struct dn_fib_res res;
|
||||||
|
|
||||||
memset(&fl, 0, sizeof(fl));
|
|
||||||
|
|
||||||
if (nh->nh_flags&RTNH_F_ONLINK) {
|
if (nh->nh_flags&RTNH_F_ONLINK) {
|
||||||
struct net_device *dev;
|
struct net_device *dev;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user