Delete prom_open() wrapper routine. Other clients of prom_open

can use the prom.h dispatch macros instead, especially since they
all presently expect the raw return bits.
This commit is contained in:
ross 1998-10-15 01:02:15 +00:00
parent c84b7f501e
commit 9f7ca48f3b
1 changed files with 1 additions and 15 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: prom.c,v 1.4 1998/09/22 00:41:13 ross Exp $ */
/* $NetBSD: prom.c,v 1.5 1998/10/15 01:02:15 ross Exp $ */
/*
* Mach Operating System
@ -124,17 +124,3 @@ prom_getenv(id, buf, len)
return (ret.u.retval);
}
int
prom_open(dev, len)
char *dev;
int len;
{
prom_return_t ret;
ret.bits = prom_dispatch(PROM_R_OPEN, dev, len);
if (ret.u.status & 0x4)
return (-1);
else
return (ret.u.retval);
}