svn commit: r235955 - head/sys/netinet6
Bjoern A. Zeeb
bz at FreeBSD.org
Fri May 25 01:45:06 UTC 2012
Author: bz
Date: Fri May 25 01:45:05 2012
New Revision: 235955
URL: http://svn.freebsd.org/changeset/base/235955
Log:
MFp4 bz_ipv6_fast:
Simplify the code removing a return from an earlier else case,
not differing from the default function return called now.
Sponsored by: The FreeBSD Foundation
Sponsored by: iXsystems
Reviewed by: gnn (as part of the whole)
MFC After: 3 days
Modified:
head/sys/netinet6/in6_src.c
Modified: head/sys/netinet6/in6_src.c
==============================================================================
--- head/sys/netinet6/in6_src.c Fri May 25 01:43:52 2012 (r235954)
+++ head/sys/netinet6/in6_src.c Fri May 25 01:45:05 2012 (r235955)
@@ -873,8 +873,7 @@ in6_selecthlim(struct inpcb *in6p, struc
RTFREE(ro6.ro_rt);
if (lifp)
return (ND_IFINFO(lifp)->chlim);
- } else
- return (V_ip6_defhlim);
+ }
}
return (V_ip6_defhlim);
}
More information about the svn-src-head
mailing list