From 4dee3f785124af2fb533e820579f2f1139c42f99 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Tue, 4 Aug 2020 10:05:46 +0100 Subject: mmc: remove duplicate mmc_get_env_dev() implementations Since it's so trivial I could just about tolerate this when there were only two copies of it. But now there are about to be three. Signed-off-by: David Woodhouse --- env/mmc.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'env/mmc.c') diff --git a/env/mmc.c b/env/mmc.c index ba872701b0d..4e67180b23a 100644 --- a/env/mmc.c +++ b/env/mmc.c @@ -24,11 +24,6 @@ DECLARE_GLOBAL_DATA_PTR; -__weak int mmc_get_env_dev(void) -{ - return CONFIG_SYS_MMC_ENV_DEV; -} - #if CONFIG_IS_ENABLED(OF_CONTROL) static inline int mmc_offset_try_partition(const char *str, int copy, s64 *val) { -- cgit v1.2.3