aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2007-12-06 22:40:17 +0000
committerJulian Elischer <julian@FreeBSD.org>2007-12-06 22:40:17 +0000
commitbf3ce91a99895d2083e29ffd691fd9b188841921 (patch)
tree8c60f406b2a363a5ff34859808f7b15d56193f0a /sys
parent884d1375fc6255179e7d8d68b53ae90d177dd283 (diff)
downloadsrc-bf3ce91a99895d2083e29ffd691fd9b188841921.tar.gz
src-bf3ce91a99895d2083e29ffd691fd9b188841921.zip
No need to assert that a == b when we just set a = b.
Notes
Notes: svn path=/head/; revision=174374
Diffstat (limited to 'sys')
-rw-r--r--sys/net/route.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index 087eaa276d6c..8ea21324621c 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -193,7 +193,6 @@ rtalloc1(struct sockaddr *dst, int report, u_long ignflags)
}
rt_missmsg(RTM_ADD, &info, newrt->rt_flags, 0);
} else {
- KASSERT(rt == newrt, ("locking wrong route"));
RT_LOCK(newrt);
RT_ADDREF(newrt);
}