Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2012 01:45:05 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235955 - head/sys/netinet6
Message-ID:  <201205250145.q4P1j5nN072684@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205250145.q4P1j5nN072684>