[Devel] [PATCH] remove extra memset from dn_fib_check_nh
Denis V. Lunev
den at openvz.org
Fri Nov 30 07:54:01 PST 2007
[PATCH] remove extra memset from dn_fib_check_nh
Signed-off-by: Denis V. Lunev <den at openvz.org>
---
net/decnet/dn_fib.c | 2 --
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;
--
1.5.3.rc5
More information about the Devel
mailing list