diff options
author | Denis V. Lunev <den@openvz.org> | 2007-12-01 07:31:02 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:55:20 -0500 |
commit | dd88590995de7c7ce108718a9ad52b3832e77814 (patch) | |
tree | 1581e8075e9f8b31a704e0ce465e143e5ac14a8f | |
parent | 875179fa60ffe2eba1daaefb0af1be97ff5eda6a (diff) |
[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>
-rw-r--r-- | 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 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 | |||
203 | struct flowi fl; | 203 | struct flowi fl; |
204 | struct dn_fib_res res; | 204 | struct dn_fib_res res; |
205 | 205 | ||
206 | memset(&fl, 0, sizeof(fl)); | ||
207 | |||
208 | if (nh->nh_flags&RTNH_F_ONLINK) { | 206 | if (nh->nh_flags&RTNH_F_ONLINK) { |
209 | struct net_device *dev; | 207 | struct net_device *dev; |
210 | 208 | ||