Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Remove a break after a goto.



details:   https://anonhg.NetBSD.org/src/rev/33380f84d342
branches:  trunk
changeset: 541922:33380f84d342
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun Jan 19 23:45:33 2003 +0000

description:
Remove a break after a goto.

diffstat:

 sys/net/if_spppsubr.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 82dc65473faa -r 33380f84d342 sys/net/if_spppsubr.c
--- a/sys/net/if_spppsubr.c     Sun Jan 19 23:44:03 2003 +0000
+++ b/sys/net/if_spppsubr.c     Sun Jan 19 23:45:33 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_spppsubr.c,v 1.61 2002/12/28 21:09:14 kristerw Exp $         */
+/*     $NetBSD: if_spppsubr.c,v 1.62 2003/01/19 23:45:33 simonb Exp $   */
 
 /*
  * Synchronous PPP/Cisco link level subroutines.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.61 2002/12/28 21:09:14 kristerw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.62 2003/01/19 23:45:33 simonb Exp $");
 
 #include "opt_inet.h"
 #include "opt_ipx.h"
@@ -1583,7 +1583,6 @@
                        sp->rst_counter[cp->protoidx] = 0;
                        sppp_cp_change_state(cp, sp, STATE_STOPPING);
                        goto sta;
-                       break;
                default:
                        printf(SPP_FMT "%s illegal %s in state %s\n",
                               SPP_ARGS(ifp), cp->name,



Home | Main Index | Thread Index | Old Index