[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPDyKFqcpBqCnzxE7wpM7q1oDfHjaFV=ggnXJTE=hNkPK3=60g@mail.gmail.com>
Date: Mon, 17 Apr 2023 16:54:34 +0200
From: Ulf Hansson <ulf.hansson@...aro.org>
To: Bo Liu <liubo03@...pur.com>
Cc: linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mmc: vub300: remove unreachable code
On Wed, 12 Apr 2023 at 10:48, Bo Liu <liubo03@...pur.com> wrote:
>
> The function sched_partition_show cannot execute return, delete the
> invalid code.
>
> Signed-off-by: Bo Liu <liubo03@...pur.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> drivers/mmc/host/vub300.c | 2 --
> 1 file changed, 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));
> --
> 2.27.0
>
Powered by blists - more mailing lists