mmc: vub300: remove unreachable code
PATCH 1/1 mmc: vub300: remove unreachable code
The function sched_partition_show cannot execute return, delete the invalid code.
Signed-off-by Bo Liu <[email protected]>
--- drivers/mmc/host/vub300.c | 2 -- 1 file changed, 2 deletions(-)
drivers/mmc/host/vub300.c +0 -2
@@ -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));
Signature · 1 line
2.27.0
Quoted 5 lines · Bo Liu
The function
sched_partition_showcannot execute return, delete the invalid code.Signed-off-by Bo Liu <[email protected]>
Applied for next, thanks!
Kind regards
Uffe
Quoted 20 lines
--- drivers/mmc/host/vub300.c | 2 -- 1 file changed, 2 deletions(-)drivers/mmc/host/vub300.c +0
-3@@ -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)); --2.27.0