summaryrefslogtreecommitdiff
path: root/usr/src/cmd/fm
diff options
context:
space:
mode:
authorMilan Jurik <milan.jurik@xylab.cz>2012-02-18 19:52:02 +0100
committerMilan Jurik <milan.jurik@xylab.cz>2012-02-18 19:52:02 +0100
commit33f5ff17089e3a43e6e730bf80384c233123dbd9 (patch)
treefe2258608d48d89964b62de39d7ba9c0ceea67f5 /usr/src/cmd/fm
parentb54d0971a8fbfdfacbe9451070dd10e3a56a96ae (diff)
downloadillumos-joyent-33f5ff17089e3a43e6e730bf80384c233123dbd9.tar.gz
2077 lots of unreachable breaks in illumos gate
Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/cmd/fm')
-rw-r--r--usr/src/cmd/fm/modules/common/eversholt/fme.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/src/cmd/fm/modules/common/eversholt/fme.c b/usr/src/cmd/fm/modules/common/eversholt/fme.c
index d6858c9916..8113230bf3 100644
--- a/usr/src/cmd/fm/modules/common/eversholt/fme.c
+++ b/usr/src/cmd/fm/modules/common/eversholt/fme.c
@@ -21,6 +21,7 @@
/*
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2012 Milan Jurik. All rights reserved.
*
* fme.c -- fault management exercise module
*
@@ -2949,7 +2950,6 @@ undiag_2defect_str(int ud)
case UD_VAL_BADOBS:
case UD_VAL_CFGMISMATCH:
return (UNDIAG_DEFECT_CHKPT);
- break;
case UD_VAL_BADEVENTI:
case UD_VAL_BADEVENTPATH:
@@ -2958,16 +2958,13 @@ undiag_2defect_str(int ud)
case UD_VAL_NOPATH:
case UD_VAL_UNSOLVD:
return (UNDIAG_DEFECT_FME);
- break;
case UD_VAL_MAXFME:
return (UNDIAG_DEFECT_LIMIT);
- break;
case UD_VAL_UNKNOWN:
default:
return (UNDIAG_DEFECT_UNKNOWN);
- break;
}
}