Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/mii Simplify activation hook.
details: https://anonhg.NetBSD.org/src/rev/c0f4c135c1e6
branches: trunk
changeset: 748990:c0f4c135c1e6
user: dyoung <dyoung%NetBSD.org@localhost>
date: Thu Nov 12 19:38:35 2009 +0000
description:
Simplify activation hook.
diffstat:
sys/dev/mii/mii.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r 0eab4fc10b7e -r c0f4c135c1e6 sys/dev/mii/mii.c
--- a/sys/dev/mii/mii.c Thu Nov 12 19:37:17 2009 +0000
+++ b/sys/dev/mii/mii.c Thu Nov 12 19:38:35 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mii.c,v 1.48 2008/05/05 01:37:56 tsutsui Exp $ */
+/* $NetBSD: mii.c,v 1.49 2009/11/12 19:38:35 dyoung Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mii.c,v 1.48 2008/05/05 01:37:56 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mii.c,v 1.49 2009/11/12 19:38:35 dyoung Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -176,9 +176,7 @@
break;
case DVACT_DEACTIVATE:
- if (config_deactivate(child->mii_dev) != 0)
- panic("%s: config_activate(%d) failed",
- device_xname(child->mii_dev), act);
+ break;
}
}
}
Home |
Main Index |
Thread Index |
Old Index