[PATCH v2] drivers: fpga: arria10: Remove unreachable code.
dinesh.maniyam at altera.com
dinesh.maniyam at altera.com
Wed Apr 15 07:17:20 CEST 2026
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();
}
}
--
2.43.7
More information about the U-Boot
mailing list