Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe Nuke a couple of unreached 'break's. Than...



details:   https://anonhg.NetBSD.org/src/rev/eaa5028d5f3c
branches:  trunk
changeset: 536869:eaa5028d5f3c
user:      oster <oster%NetBSD.org@localhost>
date:      Mon Sep 23 04:19:05 2002 +0000

description:
Nuke a couple of unreached 'break's.  Thanks (again) to Simon B.

diffstat:

 sys/dev/raidframe/rf_engine.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 0bd670aeec3a -r eaa5028d5f3c sys/dev/raidframe/rf_engine.c
--- a/sys/dev/raidframe/rf_engine.c     Mon Sep 23 04:14:20 2002 +0000
+++ b/sys/dev/raidframe/rf_engine.c     Mon Sep 23 04:19:05 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_engine.c,v 1.18 2002/09/19 22:36:23 oster Exp $     */
+/*     $NetBSD: rf_engine.c,v 1.19 2002/09/23 04:19:05 oster Exp $     */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -55,7 +55,7 @@
  ****************************************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_engine.c,v 1.18 2002/09/19 22:36:23 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_engine.c,v 1.19 2002/09/23 04:19:05 oster Exp $");
 
 #include "rf_threadstuff.h"
 
@@ -188,7 +188,6 @@
                                return RF_FALSE;
                return RF_TRUE; /* node and all succedent branches aren't in
                                 * fired state */
-               break;
        case rf_bad:
                /* succedents can't fire */
                return (RF_TRUE);
@@ -201,7 +200,6 @@
                /* XXX need to fix this case */
                /* for now, assume that we're done */
                return (RF_TRUE);
-               break;
        default:
                /* illegal node status */
                RF_PANIC();



Home | Main Index | Thread Index | Old Index