]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: imx8mm_beacon: Remove redundant code
authorAdam Ford <aford173@gmail.com>
Thu, 27 Jan 2022 21:10:00 +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/imx8mm/imx8mm_beacon.c

index 87ffebb5713d75fd6040ffd7f6de4d701fba88b7..c228bbf777252a1585fc997a893e873df599fa30 100644 (file)
@@ -50,8 +50,3 @@ int board_init(void)
 
        return 0;
 }
-
-int board_mmc_get_env_dev(int devno)
-{
-       return devno;
-}