Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);