Yang Yingliang fe1e06a27e mmc: wbsd: fix double mmc_free_host() in wbsd_init()
commit d83035433701919ac6db15f7737cbf554c36c1a6 upstream.

mmc_free_host() has already be called in wbsd_free_mmc(),
remove the mmc_free_host() in error path in wbsd_init().

Fixes: dc5b9b50fc9d ("mmc: wbsd: fix return value check of mmc_add_host()")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230807124443.3431366-1-yangyingliang@huawei.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-30 16:31:50 +02:00
..
2023-08-30 16:31:46 +02:00
2021-11-26 11:35:59 +01:00
2023-06-28 10:15:29 +02:00
2023-06-28 10:15:29 +02:00
2023-06-28 10:15:29 +02:00
2022-12-08 11:18:34 +01:00
2023-08-30 16:31:46 +02:00