[U-Boot] [PATCH] fpga: zynqmp: Remove empty functions
Michal Simek
michal.simek at xilinx.com
Fri Dec 16 10:05:58 CET 2016
Xilinx core files will take care about it.
There is no need to have these functions because they do nothing.
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---
drivers/fpga/zynqpl.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/fpga/zynqpl.c b/drivers/fpga/zynqpl.c
index 2b0318797e33..2ff716c25228 100644
--- a/drivers/fpga/zynqpl.c
+++ b/drivers/fpga/zynqpl.c
@@ -38,11 +38,6 @@
#define CONFIG_SYS_FPGA_PROG_TIME (CONFIG_SYS_HZ * 4) /* 4 s */
#endif
-static int zynq_info(xilinx_desc *desc)
-{
- return FPGA_SUCCESS;
-}
-
#define DUMMY_WORD 0xffffffff
/* Xilinx binary format header */
@@ -486,5 +481,4 @@ struct xilinx_fpga_op zynq_op = {
#if defined(CONFIG_CMD_FPGA_LOADFS)
.loadfs = zynq_loadfs,
#endif
- .info = zynq_info,
};
--
1.9.1
More information about the U-Boot
mailing list