summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2012-05-25 01:45:05 +0000
committerbz <bz@FreeBSD.org>2012-05-25 01:45:05 +0000
commita57f599e5cd444748a7a125a0db9d890dc4fbf94 (patch)
treedf587d2ac72693b3c46871d2d6e57f6552bd82af
parent2c462da2504901a6e32fc9dacd2647d38fab5df5 (diff)
downloadFreeBSD-src-a57f599e5cd444748a7a125a0db9d890dc4fbf94.zip
FreeBSD-src-a57f599e5cd444748a7a125a0db9d890dc4fbf94.tar.gz
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
-rw-r--r--sys/netinet6/in6_src.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet6/in6_src.c b/sys/netinet6/in6_src.c
index 18a1966..b6a88f5 100644
--- a/sys/netinet6/in6_src.c
+++ b/sys/netinet6/in6_src.c
@@ -873,8 +873,7 @@ in6_selecthlim(struct inpcb *in6p, struct ifnet *ifp)
RTFREE(ro6.ro_rt);
if (lifp)
return (ND_IFINFO(lifp)->chlim);
- } else
- return (V_ip6_defhlim);
+ }
}
return (V_ip6_defhlim);
}
OpenPOWER on IntegriCloud