diff options
author | ru <ru@FreeBSD.org> | 2002-12-25 10:55:44 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-12-25 10:55:44 +0000 |
commit | b76b929c6935ad2cc7f74ca0cc9c68896a15b841 (patch) | |
tree | 9543b3b3a7d2f576e1bf42ea8147c98442407863 /sys | |
parent | 909e09e1f04dbcc30c5ba367fcffc9f627bd8cde (diff) | |
download | FreeBSD-src-b76b929c6935ad2cc7f74ca0cc9c68896a15b841.zip FreeBSD-src-b76b929c6935ad2cc7f74ca0cc9c68896a15b841.tar.gz |
I'm not sure what was the problem at the time of revision 1.37
when julian@ added it, but the commented out code had at least
one bug -- not freeing the allocated mbuf.
Anyway, this comment no longer applies as of revision 1.67, so
remove it.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/route.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index f52b084..7847466 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -1096,17 +1096,6 @@ bad: (void) m_free(m); return (flags & RTF_HOST ? EHOSTUNREACH : ENETUNREACH); } - /* XXX */ -#if 0 - else { - /* - * One would think that as we are deleting, and we know - * it doesn't exist, we could just return at this point - * with an "ELSE" clause, but apparently not.. - */ - return (flags & RTF_HOST ? EHOSTUNREACH : ENETUNREACH); - } -#endif } /* * Do the actual request |