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);
 }
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to