Skip to content

Commit 45f54c9

Browse files
Bo LiuUlf Hansson
authored andcommitted
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>
1 parent aad53d4 commit 45f54c9

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/mmc/host/vub300.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,8 +1341,6 @@ static void __download_offload_pseudocode(struct vub300_mmc_host *vub300,
13411341
return;
13421342
}
13431343

1344-
return;
1345-
13461344
copy_error_message:
13471345
strncpy(vub300->vub_name, "SDIO pseudocode download failed",
13481346
sizeof(vub300->vub_name));

0 commit comments

Comments
 (0)