Skip to contentSkip to conversation

remove extra memset from dn_fib_check_nh

PATCH Applied Denis V. Lunev 2 participants 2 messages Nov 30, 2007 – Dec 1, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove extra memset from dn_fib_check_nh

[PATCH] remove extra memset from dn_fib_check_nh

---
 net/decnet/dn_fib.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
net/decnet/dn_fib.c +0 -2
index 5413e1b..4aa9a42 100644
@@ -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;
 
Signature · 1 line
1.5.3.rc5
Applied
#1 lore raw
Quoted 3 lines · Denis V. Lunev

[PATCH] remove extra memset from dn_fib_check_nh

Applied to net-2.6.25. Thanks Denis!

Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt