summaryrefslogtreecommitdiffstats
path: root/net/decnet
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2007-12-01 13:31:02 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 23:55:20 +0100
commitdd88590995de7c7ce108718a9ad52b3832e77814 (patch)
tree1581e8075e9f8b31a704e0ce465e143e5ac14a8f /net/decnet
parent[IPSEC]: SPD auditing fix to include the netmask/prefix-length (diff)
downloadlinux-dd88590995de7c7ce108718a9ad52b3832e77814.tar.xz
linux-dd88590995de7c7ce108718a9ad52b3832e77814.zip
[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>
Diffstat (limited to 'net/decnet')
-rw-r--r--net/decnet/dn_fib.c2
1 files changed, 0 insertions, 2 deletions
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;