diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-05-22 10:20:58 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-05-22 10:20:58 +0000 |
commit | aed47084a7767573834993d1a403638dba2325f4 (patch) | |
tree | 1fb47d56c157ebedecd9e7dbfe7714efab79cbb6 /sys | |
parent | fd9e060acef1b974dd5e0e77791acea96f3f8972 (diff) |
remove break after return
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/icmp6.c | 6 | ||||
-rw-r--r-- | sys/netinet6/nd6_nbr.c | 3 |
2 files changed, 2 insertions, 7 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c index e608082dfde..1792b2e1370 100644 --- a/sys/netinet6/icmp6.c +++ b/sys/netinet6/icmp6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: icmp6.c,v 1.67 2003/05/14 14:24:44 itojun Exp $ */ +/* $OpenBSD: icmp6.c,v 1.68 2003/05/22 10:20:57 itojun Exp $ */ /* $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */ /* @@ -512,7 +512,6 @@ icmp6_input(mp, offp, proto) goto badcode; } goto deliver; - break; case ICMP6_PACKET_TOO_BIG: icmp6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_pkttoobig); @@ -526,7 +525,6 @@ icmp6_input(mp, offp, proto) * intermediate extension headers. */ goto deliver; - break; case ICMP6_TIME_EXCEEDED: icmp6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_timeexceed); @@ -541,7 +539,6 @@ icmp6_input(mp, offp, proto) goto badcode; } goto deliver; - break; case ICMP6_PARAM_PROB: icmp6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_paramprob); @@ -557,7 +554,6 @@ icmp6_input(mp, offp, proto) goto badcode; } goto deliver; - break; case ICMP6_ECHO_REQUEST: icmp6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_echo); diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c index 26a450e8678..a42c49f6c44 100644 --- a/sys/netinet6/nd6_nbr.c +++ b/sys/netinet6/nd6_nbr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6_nbr.c,v 1.28 2003/05/14 14:24:44 itojun Exp $ */ +/* $OpenBSD: nd6_nbr.c,v 1.29 2003/05/22 10:20:57 itojun Exp $ */ /* $KAME: nd6_nbr.c,v 1.61 2001/02/10 16:06:14 jinmei Exp $ */ /* @@ -988,7 +988,6 @@ nd6_ifptomac(ifp) case IFT_L2VLAN: case IFT_IEEE80211: return ((caddr_t)(ifp + 1)); - break; default: return NULL; } |