2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 07:11:32 +00:00

Revert "convert to zalloc"

This reverts commit 5ce16b03a1.
This commit is contained in:
Holger Lubitz 2007-07-07 01:55:23 +02:00
parent a4d3476e0e
commit a772dc4a2a

View File

@ -245,11 +245,12 @@ static int pcibus_probe ( struct root_device *rootdev ) {
/* Allocate struct pci_device */
if ( ! pci )
pci = zalloc ( sizeof ( *pci ) );
pci = malloc ( sizeof ( *pci ) );
if ( ! pci ) {
rc = -ENOMEM;
goto err;
}
memset ( pci, 0, sizeof ( *pci ) );
pci->bus = bus;
pci->devfn = devfn;