mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove an unneeded NULL check after M_WAITOK.
This commit is contained in:
parent
b5db12bfb5
commit
93f01327ea
1 changed files with 0 additions and 2 deletions
|
|
@ -1261,8 +1261,6 @@ mmc_discover_cards(struct mmc_softc *sc)
|
|||
if (newcard) {
|
||||
ivar = malloc(sizeof(struct mmc_ivars), M_DEVBUF,
|
||||
M_WAITOK | M_ZERO);
|
||||
if (!ivar)
|
||||
return;
|
||||
memcpy(ivar->raw_cid, raw_cid, sizeof(raw_cid));
|
||||
}
|
||||
if (mmcbr_get_ro(sc->dev))
|
||||
|
|
|
|||
Loading…
Reference in a new issue