From: Adam Ford Date: Thu, 27 Jan 2022 21:10:00 +0000 (-0600) Subject: imx: imx8mm_beacon: Remove redundant code X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=586cb71e13cb9889296646314905491b6ab0e001;p=u-boot.git imx: imx8mm_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 --- diff --git a/board/beacon/imx8mm/imx8mm_beacon.c b/board/beacon/imx8mm/imx8mm_beacon.c index 87ffebb571..c228bbf777 100644 --- a/board/beacon/imx8mm/imx8mm_beacon.c +++ b/board/beacon/imx8mm/imx8mm_beacon.c @@ -50,8 +50,3 @@ int board_init(void) return 0; } - -int board_mmc_get_env_dev(int devno) -{ - return devno; -}