david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Revert "convert to zalloc"

This reverts commit 636bd2cd0a.
This commit is contained in:
Holger Lubitz 2007-07-07 01:56:15 +02:00
parent 50fe2159d5
commit ac323c5e4d
1 changed files with 2 additions and 1 deletions

View File

@ -653,11 +653,12 @@ static int isapnpbus_probe ( struct root_device *rootdev ) {
/* Allocate struct isapnp_device */
if ( ! isapnp )
isapnp = zalloc ( sizeof ( *isapnp ) );
isapnp = malloc ( sizeof ( *isapnp ) );
if ( ! isapnp ) {
rc = -ENOMEM;
goto err;
}
memset ( isapnp, 0, sizeof ( *isapnp ) );
isapnp->csn = csn;
isapnp->logdev = logdev;