summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/env_fat.c5
-rw-r--r--common/env_remote.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/common/env_fat.c b/common/env_fat.c
index bad92aa..ca76967 100644
--- a/common/env_fat.c
+++ b/common/env_fat.c
@@ -40,11 +40,6 @@ env_t *env_ptr;
DECLARE_GLOBAL_DATA_PTR;
-uchar env_get_char_spec(int index)
-{
- return *((uchar *)(gd->env_addr + index));
-}
-
int env_init(void)
{
/* use default */
diff --git a/common/env_remote.c b/common/env_remote.c
index a7b147b..6c10c90 100644
--- a/common/env_remote.c
+++ b/common/env_remote.c
@@ -41,11 +41,6 @@ DECLARE_GLOBAL_DATA_PTR;
#define CONFIG_ENV_OFFSET 0
#endif
-uchar env_get_char_spec(int index)
-{
- return *((uchar *)(gd->env_addr + index));
-}
-
int env_init(void)
{
if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) {