From 145c4fc6522f9ed7094449a53dd1483b69008c86 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Wed, 5 Apr 2017 23:35:03 +0200 Subject: [PATCH] Comment out getenv_r, we don't use it now anyway --- u-boot/common/cmd_nvedit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/u-boot/common/cmd_nvedit.c b/u-boot/common/cmd_nvedit.c index fa735a2..55b6180 100644 --- a/u-boot/common/cmd_nvedit.c +++ b/u-boot/common/cmd_nvedit.c @@ -509,6 +509,7 @@ char *getenv(char *name){ return(NULL); } +#if 0 int getenv_r(char *name, char *buf, unsigned len){ int i, nxt; @@ -536,6 +537,7 @@ int getenv_r(char *name, char *buf, unsigned len){ return(-1); } +#endif #if defined(CFG_ENV_IS_IN_NVRAM) ||\ defined(CFG_ENV_IS_IN_EEPROM) ||\ -- 2.25.1