Get rid of spurious OF_getprop().

This commit is contained in:
eeh 2001-09-10 16:27:53 +00:00
parent 9d636228e1
commit 574892a487
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ebus.c,v 1.25 2001/09/10 16:17:06 eeh Exp $ */
/* $NetBSD: ebus.c,v 1.26 2001/09/10 16:27:53 eeh Exp $ */
/*
* Copyright (c) 1999, 2000 Matthew R. Green
@ -141,7 +141,6 @@ ebus_match(parent, match, aux)
return (1);
/* Or a real ebus III */
OF_getprop(node, "name", &name, sizeof(name));
if (PCI_CLASS(pa->pa_class) == PCI_CLASS_BRIDGE &&
PCI_VENDOR(pa->pa_id) == PCI_VENDOR_SUN &&
PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_SUN_EBUSIII &&