summaryrefslogtreecommitdiffstats
path: root/net/decnet/dn_fib.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2007-12-01 23:31:02 +1100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:55:20 -0800
commitdd88590995de7c7ce108718a9ad52b3832e77814 (patch)
tree1581e8075e9f8b31a704e0ce465e143e5ac14a8f /net/decnet/dn_fib.c
parent875179fa60ffe2eba1daaefb0af1be97ff5eda6a (diff)
downloadop-kernel-dev-dd88590995de7c7ce108718a9ad52b3832e77814.zip
op-kernel-dev-dd88590995de7c7ce108718a9ad52b3832e77814.tar.gz
[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/dn_fib.c')
-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 5413e1b..4aa9a42 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;
OpenPOWER on IntegriCloud