aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2012-09-30 09:26:26 +0000
committerKevin Lo <kevlo@FreeBSD.org>2012-09-30 09:26:26 +0000
commit93f01327ea4e532b15c9efb165d0995fa757b658 (patch)
treedabafe2f278432fd7854e558f06d6aecf0297647 /sys/dev
parentb5db12bfb578bd8b374bf981858a109f3c181bfa (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mmc/mmc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/mmc/mmc.c b/sys/dev/mmc/mmc.c
index a63d50154d6fa..644254f6c8aa5 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))