From dd88590995de7c7ce108718a9ad52b3832e77814 Mon Sep 17 00:00:00 2001 From: "Denis V. Lunev" Date: Sat, 1 Dec 2007 23:31:02 +1100 Subject: [DECNET]: Remove extra memset from dn_fib_check_nh Signed-off-by: Denis V. Lunev Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- net/decnet/dn_fib.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'net/decnet') diff --git a/net/decnet/dn_fib.c b/net/decnet/dn_fib.c index 5413e1b75b5d..4aa9a423e606 100644 --- a/net/decnet/dn_fib.c +++ b/net/decnet/dn_fib.c @@ -203,8 +203,6 @@ static int dn_fib_check_nh(const struct rtmsg *r, struct dn_fib_info *fi, struct struct flowi fl; struct dn_fib_res res; - memset(&fl, 0, sizeof(fl)); - if (nh->nh_flags&RTNH_F_ONLINK) { struct net_device *dev; -- cgit v1.2.1