From 9c46cdbef50e4ae1ae06b1a7af3cb0d407010e84 Mon Sep 17 00:00:00 2001 From: cgd Date: Tue, 3 Feb 1998 00:43:46 +0000 Subject: [PATCH] in ofbattach(), don't both doing an ofbprint() by hand if the root node. The old ofbprint() wasn't particularly good (it forced the root node to have a 'name' property, which apparently violates the OFW spec), and the new one (though it normally prints more useful information) has nothing useful to say about the root node. It's not clear to me that 'ofroot' should exist at all. --- sys/dev/ofw/ofbus.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/ofw/ofbus.c b/sys/dev/ofw/ofbus.c index c6a81142b5c3..878c082c2321 100644 --- a/sys/dev/ofw/ofbus.c +++ b/sys/dev/ofw/ofbus.c @@ -1,4 +1,4 @@ -/* $NetBSD: ofbus.c,v 1.7 1998/02/02 22:00:07 cgd Exp $ */ +/* $NetBSD: ofbus.c,v 1.8 1998/02/03 00:43:46 cgd Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -89,9 +89,6 @@ ofbattach(parent, dev, aux) struct ofprobe probe; int units; - if (!parent) - ofbprint(aux, 0); - printf("\n"); /*