Commit 45f54c9c authored by Bo Liu's avatar Bo Liu Committed by Ulf Hansson

mmc: vub300: remove unreachable code

The function sched_partition_show cannot execute return, delete the
invalid code.
Signed-off-by: default avatarBo Liu <liubo03@inspur.com>
Link: https://lore.kernel.org/r/20230412084758.2673-1-liubo03@inspur.comSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent aad53d4e
...@@ -1341,8 +1341,6 @@ static void __download_offload_pseudocode(struct vub300_mmc_host *vub300, ...@@ -1341,8 +1341,6 @@ static void __download_offload_pseudocode(struct vub300_mmc_host *vub300,
return; return;
} }
return;
copy_error_message: copy_error_message:
strncpy(vub300->vub_name, "SDIO pseudocode download failed", strncpy(vub300->vub_name, "SDIO pseudocode download failed",
sizeof(vub300->vub_name)); sizeof(vub300->vub_name));
......
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