All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alifer Moraes <alifer.wsdm@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 2/5] imx8qm_mek: Remove unused function detail_board_ddr_info()
Date: Thu, 16 Jan 2020 12:43:08 -0300	[thread overview]
Message-ID: <20200116154309.10666-3-alifer.wsdm@gmail.com> (raw)
In-Reply-To: <20200116154309.10666-1-alifer.wsdm@gmail.com>

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/imx8qm_mek/imx8qm_mek.c:102:6: warning: no previous
prototype for ‘detail_board_ddr_info’ [-Wmissing-prototypes]
---
 board/freescale/imx8qm_mek/imx8qm_mek.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/board/freescale/imx8qm_mek/imx8qm_mek.c b/board/freescale/imx8qm_mek/imx8qm_mek.c
index 667a2743a6..36d9628853 100644
--- a/board/freescale/imx8qm_mek/imx8qm_mek.c
+++ b/board/freescale/imx8qm_mek/imx8qm_mek.c
@@ -99,11 +99,6 @@ int board_init(void)
 	return 0;
 }
 
-void detail_board_ddr_info(void)
-{
-	puts("\nDDR    ");
-}
-
 /*
  * Board specific reset that is system reset.
  */
-- 
2.17.1

  parent reply	other threads:[~2020-01-16 15:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-16 15:43 [PATCH] imx8qxp_mek: Include fdt_support.h header Alifer Moraes
2020-01-16 15:43 ` [PATCH] imx8qm_mek: " Alifer Moraes
2020-01-20 20:17   ` sbabic at denx.de
2020-01-16 15:43 ` Alifer Moraes [this message]
2020-01-20 20:17   ` [PATCH 2/5] imx8qm_mek: Remove unused function detail_board_ddr_info() sbabic at denx.de
2020-01-16 15:43 ` [PATCH 3/5] imx8qxp_mek: " Alifer Moraes
2020-01-20 20:18   ` sbabic at denx.de
2020-01-20 20:18 ` [PATCH] imx8qxp_mek: Include fdt_support.h header sbabic at denx.de

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200116154309.10666-3-alifer.wsdm@gmail.com \
    --to=alifer.wsdm@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.