Message ID | 20200116154649.10800-1-alifer.wsdm@gmail.com |
---|---|
State | Accepted |
Commit | 96159bef6fd86a399e7734c6ca38ba9e535da5f0 |
Headers | show |
Series | [1/5] imx8qm_rom7720_a1: Remove unused function detail_board_ddr_info() | expand |
> 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/toradex/apalis-imx8/apalis-imx8.c:92:6: warning: no previous > prototype for ‘detail_board_ddr_info’ [-Wmissing-prototypes] > Signed-off-by: Alifer Moraes <alifer.wsdm at gmail.com> Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic
diff --git a/board/toradex/apalis-imx8/apalis-imx8.c b/board/toradex/apalis-imx8/apalis-imx8.c index 0483041187..a42fbb722a 100644 --- a/board/toradex/apalis-imx8/apalis-imx8.c +++ b/board/toradex/apalis-imx8/apalis-imx8.c @@ -89,11 +89,6 @@ int board_init(void) return 0; } -void detail_board_ddr_info(void) -{ - puts("\nDDR "); -} - /* * Board specific reset that is system reset. */
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/toradex/apalis-imx8/apalis-imx8.c:92:6: warning: no previous prototype for ‘detail_board_ddr_info’ [-Wmissing-prototypes] Signed-off-by: Alifer Moraes <alifer.wsdm at gmail.com> --- board/toradex/apalis-imx8/apalis-imx8.c | 5 ----- 1 file changed, 5 deletions(-)