From b76b929c6935ad2cc7f74ca0cc9c68896a15b841 Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 25 Dec 2002 10:55:44 +0000 Subject: 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. --- sys/net/route.c | 11 ----------- 1 file changed, 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 -- cgit v1.1