mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 06:42:56 -04: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
1 changed files with 0 additions and 2 deletions
|
|
@ -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 a new issue