aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/core/bus.c')
-rw-r--r--drivers/mmc/core/bus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/core/bus.c b/drivers/mmc/core/bus.c
index 9b68933f27e7..420cb6753c1e 100644
--- a/drivers/mmc/core/bus.c
+++ b/drivers/mmc/core/bus.c
@@ -225,8 +225,7 @@ static void mmc_release_card(struct device *dev)
225 225
226 sdio_free_common_cis(card); 226 sdio_free_common_cis(card);
227 227
228 if (card->info) 228 kfree(card->info);
229 kfree(card->info);
230 229
231 kfree(card); 230 kfree(card);
232} 231}