Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet6 One more from christos@



details:   https://anonhg.NetBSD.org/src/rev/f8a37568dc67
branches:  trunk
changeset: 829401:f8a37568dc67
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon Jan 29 03:42:53 2018 +0000

description:
One more from christos@

No need to initialize fill_func

diffstat:

 sys/netinet6/nd6.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 72e2ae5c9917 -r f8a37568dc67 sys/netinet6/nd6.c
--- a/sys/netinet6/nd6.c        Mon Jan 29 03:42:30 2018 +0000
+++ b/sys/netinet6/nd6.c        Mon Jan 29 03:42:53 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nd6.c,v 1.243 2018/01/29 03:35:23 pgoyette Exp $       */
+/*     $NetBSD: nd6.c,v 1.244 2018/01/29 03:42:53 pgoyette Exp $       */
 /*     $KAME: nd6.c,v 1.279 2002/06/08 11:16:51 itojun Exp $   */
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.243 2018/01/29 03:35:23 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.244 2018/01/29 03:42:53 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -2503,8 +2503,6 @@
 
        p = NULL;
 
-       fill_func = NULL;
-
        switch (name) {
        case ICMPV6CTL_ND6_DRLIST:
                fill_func = fill_drlist;



Home | Main Index | Thread Index | Old Index