diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-07-31 01:12:29 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-07-31 01:12:29 +0000 |
commit | c019a1d5c1722853e680624e3658d48d928de439 (patch) | |
tree | 53ea73245333a618273174551f971c83a1cb5e77 /sys | |
parent | 8d63b4c71b2397feaaa3929488a49be32ed8c8ca (diff) |
Remove the other references to promvec
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/sparc64/openprom.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/sparc64/sparc64/openprom.c b/sys/arch/sparc64/sparc64/openprom.c index 942160c276c..0efc473509c 100644 --- a/sys/arch/sparc64/sparc64/openprom.c +++ b/sys/arch/sparc64/sparc64/openprom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: openprom.c,v 1.5 2002/07/31 01:09:32 jason Exp $ */ +/* $OpenBSD: openprom.c,v 1.6 2002/07/31 01:12:28 jason Exp $ */ /* $NetBSD: openprom.c,v 1.2 2000/11/18 23:45:05 mrg Exp $ */ /* @@ -63,7 +63,6 @@ static int lastnode; /* speed hack */ extern int optionsnode; /* node ID of ROM's options */ -extern struct promvec *promvec; static int openpromcheckid(int, int); static int openpromgetstr(int, char *, char **); @@ -94,11 +93,8 @@ openpromclose(dev, flags, mode, p) */ static int openpromcheckid(sid, tid) - register int sid, tid; + int sid, tid; { - register struct nodeops *no; - - no = promvec->pv_nodeops; for (; sid != 0; sid = OF_peer(sid)) if (sid == tid || openpromcheckid(OF_child(sid), tid)) return (1); |