diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2012-09-23 04:39:16 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-09-26 11:08:32 -0700 |
commit | 3bb89e5bd5c0d3a12129b01fbb706a18ee56557e (patch) | |
tree | cca7d9817b7f885f1d445e473b96325811d2b8b3 /common/env_remote.c | |
parent | 2d1d65838eacd314b989701bd2f9e2b657bbf62b (diff) | |
download | u-boot-imx-3bb89e5bd5c0d3a12129b01fbb706a18ee56557e.zip u-boot-imx-3bb89e5bd5c0d3a12129b01fbb706a18ee56557e.tar.gz u-boot-imx-3bb89e5bd5c0d3a12129b01fbb706a18ee56557e.tar.bz2 |
env: remove duplicated env_get_char_spec()
env_fat and env_remote have an implementation of env_get_char_spec()
function that is not different than the default.
Remove the duplicated code.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'common/env_remote.c')
-rw-r--r-- | common/env_remote.c | 5 |
1 files changed, 0 insertions, 5 deletions
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) { |