summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorBo Liu <liubo03@inspur.com>2023-04-12 10:47:58 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2023-04-17 11:51:14 +0200
commit45f54c9c18582c9d3af14fceaf44f7346c01a123 (patch)
tree552f44f941f6fbe85ef306919c911f6304382f8d /drivers/mmc
parentmmc: sdhci-cadence: Support mmc hardware reset (diff)
downloadlinux-45f54c9c18582c9d3af14fceaf44f7346c01a123.tar.xz
linux-45f54c9c18582c9d3af14fceaf44f7346c01a123.zip
mmc: vub300: remove unreachable code
The function sched_partition_show cannot execute return, delete the invalid code. Signed-off-by: Bo Liu <liubo03@inspur.com> Link: https://lore.kernel.org/r/20230412084758.2673-1-liubo03@inspur.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/vub300.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c
index 72f65f32abbc..e4c4bfac3763 100644
--- a/drivers/mmc/host/vub300.c
+++ b/drivers/mmc/host/vub300.c
@@ -1341,8 +1341,6 @@ static void __download_offload_pseudocode(struct vub300_mmc_host *vub300,
return;
}
- return;
-
copy_error_message:
strncpy(vub300->vub_name, "SDIO pseudocode download failed",
sizeof(vub300->vub_name));