From b5da945622a0bb73dcef1c19cc41dc7374aace6e Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 2 Sep 2006 07:06:03 +0000 Subject: [PATCH] comment out unreachable code --- sys/dev/mii/mii_physubr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/mii/mii_physubr.c b/sys/dev/mii/mii_physubr.c index 073587d3ee35..a11b3a46af91 100644 --- a/sys/dev/mii/mii_physubr.c +++ b/sys/dev/mii/mii_physubr.c @@ -1,4 +1,4 @@ -/* $NetBSD: mii_physubr.c,v 1.49 2006/03/29 07:05:24 thorpej Exp $ */ +/* $NetBSD: mii_physubr.c,v 1.50 2006/09/02 07:06:03 christos Exp $ */ /*- * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mii_physubr.c,v 1.49 2006/03/29 07:05:24 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mii_physubr.c,v 1.50 2006/09/02 07:06:03 christos Exp $"); #include #include @@ -134,7 +134,7 @@ mii_phy_setmedia(struct mii_softc *sc) */ #ifdef DIAGNOSTIC - if (ife->ifm_data < 0 || ife->ifm_data >= MII_NMEDIA) + if (/* ife->ifm_data < 0 || */ ife->ifm_data >= MII_NMEDIA) panic("mii_phy_setmedia"); #endif