Print this page
10703 smatch unreachable code checking needs reworking
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
@@ -21,10 +21,14 @@
/*
* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
*/
+/*
+ * Copyright 2019 Joyent, Inc.
+ */
+
#include <sys/types.h>
#include <strings.h>
#include <fm/fmd_api.h>
#include <sys/fm/protocol.h>
#include <sys/fm/util.h>
@@ -110,11 +114,10 @@
if (sysevent_evc_bind(channel_name, &fmevt_outbound_chan,
EVCH_CREAT | EVCH_HOLD_PEND_INDEF) != 0) {
fmd_hdl_abort(hdl, "Unable to bind channel %s",
channel_name);
- return;
}
channel_depth = fmd_prop_get_int32(hdl, "outbound_channel_depth");
if (sysevent_evc_control(fmevt_outbound_chan, EVCH_SET_CHAN_LEN,