[PATCH v2] drivers: fpga: arria10: Remove unreachable code.
Chee, Tien Fong
tien.fong.chee at altera.com
Thu Apr 30 06:37:57 CEST 2026
On 15/4/2026 1:17 pm, dinesh.maniyam at altera.com wrote:
> From: Dinesh Maniyam <dinesh.maniyam at altera.com>
>
> The schedule() call after the break statement is unreachable.
> Remove the dead code as it has no functional impact.
>
> Signed-off-by: Dinesh Maniyam <dinesh.maniyam at altera.com>
> ---
> drivers/fpga/socfpga_arria10.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/fpga/socfpga_arria10.c b/drivers/fpga/socfpga_arria10.c
> index e9822b2bb0e..b85cc3e076d 100644
> --- a/drivers/fpga/socfpga_arria10.c
> +++ b/drivers/fpga/socfpga_arria10.c
> @@ -532,8 +532,6 @@ static void get_rbf_image_info(struct rbf_info *rbf, u16 *buffer)
>
> rbf->section = unknown;
> break;
> -
> - schedule();
> }
> }
>
Reviewed-by: Tien Fong Chee <tien.fong.chee at altera.com>
Best regards,
Tien Fong
More information about the U-Boot
mailing list