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>
@@ -30,10 +30,14 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*/
/*
+ * Copyright 2019 Joyent, Inc.
+ */
+
+/*
* Change log
*/
/*
* TODO:
@@ -2049,11 +2053,10 @@
goto autonego;
default:
cmn_err(CE_PANIC, "!%s: unknowm linkdown action: %d",
dp->name, dp->ugc.usbgc_mii_linkdown_action);
- dp->mii_supress_msg = B_TRUE;
}
/* NOTREACHED */
reset_phy:
if (!dp->mii_supress_msg) {