diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-06-03 06:24:23 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-06-03 06:24:23 +0000 |
commit | bf7787e7c5ec1d1ce26b13f463fa518daef442db (patch) | |
tree | c7b3fb9d8f79aa0dffe27d094120327317e4073d /sys/netinet6 | |
parent | d045ca3408f9977cfc0698520aec5cb7012e4a29 (diff) |
remove unneeded break after return. sync w/kame
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/ip6_mroute.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c index 9c82b29e00b..c12dcaf4bbd 100644 --- a/sys/netinet6/ip6_mroute.c +++ b/sys/netinet6/ip6_mroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_mroute.c,v 1.36 2003/06/02 23:28:15 millert Exp $ */ +/* $OpenBSD: ip6_mroute.c,v 1.37 2003/06/03 06:24:22 itojun Exp $ */ /* $KAME: ip6_mroute.c,v 1.45 2001/03/25 08:38:51 itojun Exp $ */ /* @@ -314,20 +314,15 @@ mrt6_ioctl(cmd, data) int cmd; caddr_t data; { - int error = 0; switch (cmd) { case SIOCGETSGCNT_IN6: return (get_sg_cnt((struct sioc_sg_req6 *)data)); - break; /* for safety */ case SIOCGETMIFCNT_IN6: return (get_mif6_cnt((struct sioc_mif_req6 *)data)); - break; /* for safety */ default: return (EINVAL); - break; } - return error; } /* |