diff --git a/sys/dev/mmc/mmc.c b/sys/dev/mmc/mmc.c index a63d50154d6..644254f6c8a 100644 --- a/sys/dev/mmc/mmc.c +++ b/sys/dev/mmc/mmc.c @@ -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))