Commit 4c42d6cc authored by Sachin Kamat's avatar Sachin Kamat Committed by Chris Ball

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

kfree on a null pointer is a no-op.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent e3af31c6
......@@ -272,7 +272,6 @@ static void sdio_release_func(struct device *dev)
sdio_free_func_cis(func);
if (func->info)
kfree(func->info);
kfree(func);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment