Module Name: src Committed By: pgoyette Date: Mon Jan 29 03:35:23 UTC 2018
Modified Files: src/sys/netinet6: nd6.c Log Message: More simplification, this time from ozaki-r@ No need to break after return. To generate a diff of this commit: cvs rdiff -u -r1.242 -r1.243 src/sys/netinet6/nd6.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/netinet6/nd6.c diff -u src/sys/netinet6/nd6.c:1.242 src/sys/netinet6/nd6.c:1.243 --- src/sys/netinet6/nd6.c:1.242 Mon Jan 29 03:29:26 2018 +++ src/sys/netinet6/nd6.c Mon Jan 29 03:35:23 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: nd6.c,v 1.242 2018/01/29 03:29:26 pgoyette Exp $ */ +/* $NetBSD: nd6.c,v 1.243 2018/01/29 03:35:23 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.242 2018/01/29 03:29:26 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.243 2018/01/29 03:35:23 pgoyette Exp $"); #ifdef _KERNEL_OPT #include "opt_net_mpsafe.h" @@ -2516,11 +2516,9 @@ nd6_sysctl( case ICMPV6CTL_ND6_MAXQLEN: return 0; - break; default: return ENOPROTOOPT; - break; } error = (*fill_func)(p, oldlenp); /* calc len needed */