summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/common/modules/genunix/genunix.c
diff options
context:
space:
mode:
authordmick <none@none>2008-01-14 19:27:12 -0800
committerdmick <none@none>2008-01-14 19:27:12 -0800
commit14ef2b2fea9e423f002c19b37147ec95be3dbf51 (patch)
tree0aacb2feed84ae54e73be35344379309b945ccd6 /usr/src/cmd/mdb/common/modules/genunix/genunix.c
parent9e2cd38c103ae52a41b09823a11c9b5c059555f0 (diff)
downloadillumos-gate-14ef2b2fea9e423f002c19b37147ec95be3dbf51.tar.gz
6598517 kmdb can't look at device tree if first activated early in boot
Diffstat (limited to 'usr/src/cmd/mdb/common/modules/genunix/genunix.c')
-rw-r--r--usr/src/cmd/mdb/common/modules/genunix/genunix.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr/src/cmd/mdb/common/modules/genunix/genunix.c b/usr/src/cmd/mdb/common/modules/genunix/genunix.c
index 565da6f4a8..36d61da041 100644
--- a/usr/src/cmd/mdb/common/modules/genunix/genunix.c
+++ b/usr/src/cmd/mdb/common/modules/genunix/genunix.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -3906,11 +3906,6 @@ static const mdb_modinfo_t modinfo = { MDB_API_VERSION, dcmds, walkers };
const mdb_modinfo_t *
_mdb_init(void)
{
- if (mdb_readvar(&devinfo_root, "top_devinfo") == -1) {
- mdb_warn("failed to read 'top_devinfo'");
- return (NULL);
- }
-
if (findstack_init() != DCMD_OK)
return (NULL);