mmc: Remove redundant null check before kfree in bus.c

kfree on a null pointer is a no-op.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
Sachin Kamat 2012-11-20 14:43:17 +05:30 committed by Chris Ball
parent 4c42d6cc24
commit 8db580ccfd

View file

@ -225,8 +225,7 @@ static void mmc_release_card(struct device *dev)
sdio_free_common_cis(card);
if (card->info)
kfree(card->info);
kfree(card->info);
kfree(card);
}