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>
@@ -19,11 +19,11 @@
* CDDL HEADER END
*/
/*
* Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2018 Joyent, Inc.
+ * Copyright 2019 Joyent, Inc.
*/
/*
* restarter.c - service manipulation
*
@@ -2088,18 +2088,10 @@
restarter_event_release(e);
MUTEX_LOCK(&ru->restarter_update_lock);
}
}
-
- /*
- * Unreachable for now -- there's currently no graceful cleanup
- * called on exit().
- */
- (void) scf_handle_unbind(h);
- scf_handle_destroy(h);
- return (NULL);
}
static restarter_inst_t *
contract_to_inst(ctid_t ctid)
{