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);
 }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to