]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: Drop env_get_char_spec() and old, unused .get_char() implementations
authorMarek Behún <marek.behun@nic.cz>
Sun, 17 Oct 2021 15:36:27 +0000 (17:36 +0200)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Oct 2021 18:50:48 +0000 (12:50 -0600)
commitdd1c5a7f80baf69ac94122acb3202bdcf14fec92
treefd7de34daba296cf78758fa6d00dfb666b69bc0f
parent6dc1e2f10c7ca8ba7caf5444efeb5bb015837829
env: Drop env_get_char_spec() and old, unused .get_char() implementations

Commit b2cdef4861be ("env: restore old env_get_char() behaviour")
dropped the .get_char() method from struct env_driver, but left the two
existing implementations (eeprom and nvram) in case someone would use
them by overwriting weak function env_get_char_spec().

Since this was never done in the 3.5 years, let's drop these methods and
simplify the code.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
env/eeprom.c
env/env.c
env/nvram.c