Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 More simplification, this time from ozaki-r@
details: https://anonhg.NetBSD.org/src/rev/1df2bff41085
branches: trunk
changeset: 829399:1df2bff41085
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon Jan 29 03:35:23 2018 +0000
description:
More simplification, this time from ozaki-r@
No need to break after return.
diffstat:
sys/netinet6/nd6.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r f01e937c1fba -r 1df2bff41085 sys/netinet6/nd6.c
--- a/sys/netinet6/nd6.c Mon Jan 29 03:29:26 2018 +0000
+++ b/sys/netinet6/nd6.c Mon Jan 29 03:35:23 2018 +0000
@@ -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 @@
case ICMPV6CTL_ND6_MAXQLEN:
return 0;
- break;
default:
return ENOPROTOOPT;
- break;
}
error = (*fill_func)(p, oldlenp); /* calc len needed */
Home |
Main Index |
Thread Index |
Old Index