1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

No need to assert that a == b when we just set a = b.

This commit is contained in:
Julian Elischer 2007-12-06 22:40:17 +00:00
parent 884d1375fc
commit bf3ce91a99
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174374

View File

@ -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);
}