]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: imx8mn_beacon: Remove redundant code
authorAdam Ford <aford173@gmail.com>
Thu, 27 Jan 2022 21:10:01 +0000 (15:10 -0600)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 14:49:01 +0000 (15:49 +0100)
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>
board/beacon/imx8mn/imx8mn_beacon.c

index 7fe252b262b1c8db2bf50504d41934824ab338ee..6397dac872e9cbcd3318f81f244c291032513527 100644 (file)
@@ -50,8 +50,3 @@ int board_init(void)
 
        return 0;
 }
-
-int board_mmc_get_env_dev(int devno)
-{
-       return CONFIG_SYS_MMC_ENV_DEV;
-}