[DECNET]: Remove extra memset from dn_fib_check_nh
authorDenis V. Lunev <den@openvz.org>
Sat, 1 Dec 2007 12:31:02 +0000 (23:31 +1100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:55:20 +0000 (14:55 -0800)
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>
net/decnet/dn_fib.c

index 5413e1b75b5da7995ff12bf7a8a6f77d8912e37d..4aa9a423e606360e959ad54d83595d9281bde2a4 100644 (file)
@@ -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;