public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Adam Ford <aford173@gmail.com>
To: u-boot@lists.denx.de
Cc: aford173@gmail.com, trini@konsulko.com, sbabic@denx.de,
	aford@beaconembedded.com
Subject: [PATCH 2/2] imx: imx8mn_beacon:  Remove redundant code
Date: Thu, 27 Jan 2022 15:10:01 -0600	[thread overview]
Message-ID: <20220127211001.104334-2-aford173@gmail.com> (raw)
In-Reply-To: <20220127211001.104334-1-aford173@gmail.com>

The function to return the default MMC device for the environment
already has a __weak instance doing exactly the same thing.  Remove
the superfluous one.

Signed-off-by: Adam Ford <aford173@gmail.com>

diff --git a/board/beacon/imx8mn/imx8mn_beacon.c b/board/beacon/imx8mn/imx8mn_beacon.c
index 7fe252b262..6397dac872 100644
--- a/board/beacon/imx8mn/imx8mn_beacon.c
+++ b/board/beacon/imx8mn/imx8mn_beacon.c
@@ -50,8 +50,3 @@ int board_init(void)
 
 	return 0;
 }
-
-int board_mmc_get_env_dev(int devno)
-{
-	return CONFIG_SYS_MMC_ENV_DEV;
-}
-- 
2.32.0


  reply	other threads:[~2022-01-27 21:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-27 21:10 [PATCH 1/2] imx: imx8mm_beacon: Remove redundant code Adam Ford
2022-01-27 21:10 ` Adam Ford [this message]
2022-02-05 16:39   ` [PATCH 2/2] imx: imx8mn_beacon: " sbabic
2022-02-05 16:41 ` [PATCH 1/2] imx: imx8mm_beacon: " sbabic

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=20220127211001.104334-2-aford173@gmail.com \
    --to=aford173@gmail.com \
    --cc=aford@beaconembedded.com \
    --cc=sbabic@denx.de \
    --cc=trini@konsulko.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox