Skip to content

Commit

Permalink
[DECNET]: Remove extra memset from dn_fib_check_nh
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Jan 28, 2008
1 parent 875179f commit dd88590
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/decnet/dn_fib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit dd88590

Please sign in to comment.