Remove needless "link state changed to DOWN/UP" message.

This commit is contained in:
dyoung 2006-05-01 18:17:42 +00:00
parent 501be8b824
commit 2d794b9ed5

View File

@ -1,4 +1,4 @@
/* $NetBSD: if.c,v 1.163 2005/12/11 23:05:24 thorpej Exp $ */
/* $NetBSD: if.c,v 1.164 2006/05/01 18:17:42 dyoung Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@ -97,7 +97,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.163 2005/12/11 23:05:24 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.164 2006/05/01 18:17:42 dyoung Exp $");
#include "opt_inet.h"
@ -1172,8 +1172,6 @@ if_link_state_change(struct ifnet *ifp, int link_state)
if (ifp->if_link_state != link_state) {
ifp->if_link_state = link_state;
rt_ifmsg(ifp);
log(LOG_NOTICE, "%s: link state changed to %s\n", ifp->if_xname,
(link_state == LINK_STATE_UP) ? "UP" : "DOWN" );
}
}