Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Remove redundant rtcache_invariants
details: https://anonhg.NetBSD.org/src/rev/a116c3760bc9
branches: trunk
changeset: 336881:a116c3760bc9
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Thu Mar 26 04:38:17 2015 +0000
description:
Remove redundant rtcache_invariants
It's done in rtcache_getdst.
diffstat:
sys/net/route.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r e6dbeb77e446 -r a116c3760bc9 sys/net/route.c
--- a/sys/net/route.c Thu Mar 26 04:05:58 2015 +0000
+++ b/sys/net/route.c Thu Mar 26 04:38:17 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: route.c,v 1.136 2015/02/26 09:54:46 roy Exp $ */
+/* $NetBSD: route.c,v 1.137 2015/03/26 04:38:17 ozaki-r Exp $ */
/*-
* Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
@@ -94,7 +94,7 @@
#include "opt_route.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: route.c,v 1.136 2015/02/26 09:54:46 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: route.c,v 1.137 2015/03/26 04:38:17 ozaki-r Exp $");
#include <sys/param.h>
#include <sys/kmem.h>
@@ -1419,8 +1419,6 @@
const struct sockaddr *odst;
struct rtentry *rt = NULL;
- rtcache_invariants(ro);
-
odst = rtcache_getdst(ro);
if (odst == NULL)
Home |
Main Index |
Thread Index |
Old Index