svn commit: r238232 - stable/9/sys/netinet6

Bjoern A. Zeeb bz at FreeBSD.org
Sun Jul 8 11:33:50 UTC 2012


Author: bz
Date: Sun Jul  8 11:33:49 2012
New Revision: 238232
URL: http://svn.freebsd.org/changeset/base/238232

Log:
  MFC r235955:
  
     Simplify the code removing a return from an earlier else case,
     not differing from the default function return called now.
  
  Approved by:	re

Modified:
  stable/9/sys/netinet6/in6_src.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet6/in6_src.c
==============================================================================
--- stable/9/sys/netinet6/in6_src.c	Sun Jul  8 11:28:33 2012	(r238231)
+++ stable/9/sys/netinet6/in6_src.c	Sun Jul  8 11:33:49 2012	(r238232)
@@ -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-stable-9 mailing list