mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 18:12:57 +01:00
sdhci(4): Stop checking for failures from malloc(M_WAITOK)
MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45852
This commit is contained in:
parent
59121599bb
commit
f80483cdd5
@ -86,8 +86,6 @@ sdhci_xenon_acpi_attach(device_t dev)
|
||||
memset(&mmc_helper, 0, sizeof(mmc_helper));
|
||||
|
||||
slot = malloc(sizeof(*slot), M_DEVBUF, M_ZERO | M_WAITOK);
|
||||
if (!slot)
|
||||
return (ENOMEM);
|
||||
|
||||
/*
|
||||
* Don't use regularators.
|
||||
|
Loading…
Reference in New Issue
Block a user