From: Denis V. Lunev Date: Sat, 1 Dec 2007 12:31:02 +0000 (+1100) Subject: [DECNET]: Remove extra memset from dn_fib_check_nh X-Git-Tag: v2.6.25-rc1~1162^2~1313 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=dd88590995de7c7ce108718a9ad52b3832e77814;p=linux-2.6-omap-h63xx.git [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 --- diff --git a/net/decnet/dn_fib.c b/net/decnet/dn_fib.c index 5413e1b75b5..4aa9a423e60 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;