Commit dd885909 authored by Denis V. Lunev's avatar Denis V. Lunev Committed by David S. Miller

[DECNET]: Remove extra memset from dn_fib_check_nh

Signed-off-by: default avatarDenis V. Lunev <den@openvz.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 875179fa
...@@ -203,8 +203,6 @@ static int dn_fib_check_nh(const struct rtmsg *r, struct dn_fib_info *fi, struct ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment