diff mbox series

[3/5] imx8qxp_mek: Remove unused function detail_board_ddr_info()

Message ID 20200116154309.10666-4-alifer.wsdm@gmail.com
State Accepted
Commit 122fbf469a2e33c3c88f59e23bbff999a6906d26
Delegated to: Stefano Babic
Headers show
Series imx8qxp_mek: Include fdt_support.h header | expand

Commit Message

Alifer Moraes Jan. 16, 2020, 3:43 p.m. UTC
detail_board_ddr_info() is not used anywhere, so simply remove it.

This function is only used by Layerscape, not by i.MX.

This was detected by the following sparse warning:

board/freescale/imx8qxp_mek/imx8qxp_mek.c:115:6: warning: no previous
prototype for ‘detail_board_ddr_info’ [-Wmissing-prototypes]

Signed-off-by: Alifer Moraes <alifer.wsdm@gmail.com>
---
 board/freescale/imx8qxp_mek/imx8qxp_mek.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Stefano Babic Jan. 20, 2020, 8:18 p.m. UTC | #1
> detail_board_ddr_info() is not used anywhere, so simply remove it.
> This function is only used by Layerscape, not by i.MX.
> This was detected by the following sparse warning:
> board/freescale/imx8qxp_mek/imx8qxp_mek.c:115:6: warning: no previous
> prototype for ‘detail_board_ddr_info’ [-Wmissing-prototypes]
> Signed-off-by: Alifer Moraes <alifer.wsdm@gmail.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/board/freescale/imx8qxp_mek/imx8qxp_mek.c b/board/freescale/imx8qxp_mek/imx8qxp_mek.c
index 8e731ec32e..f8dd6d0bb0 100644
--- a/board/freescale/imx8qxp_mek/imx8qxp_mek.c
+++ b/board/freescale/imx8qxp_mek/imx8qxp_mek.c
@@ -113,11 +113,6 @@  int board_init(void)
 	return 0;
 }
 
-void detail_board_ddr_info(void)
-{
-	puts("\nDDR    ");
-}
-
 /*
  * Board specific reset that is system reset.
  */