From 3d14bd2d207b820b6d5c960fe4c542ea308a2e86 Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Thu, 27 Jan 2022 15:10:01 -0600 Subject: [PATCH] imx: imx8mn_beacon: Remove redundant code 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 --- board/beacon/imx8mn/imx8mn_beacon.c | 5 ----- 1 file changed, 5 deletions(-) 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.39.5