]> git.baikalelectronics.ru Git - uboot.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)
commit4391cf9b22d9c86d406f159fb4dea7df50977b0b
treefd7de34daba296cf78758fa6d00dfb666b69bc0f
parent54820a25276fbd7cd9c6bee905a54f8a586a5aa6
env: Drop env_get_char_spec() and old, unused .get_char() implementations

Commit b4cd0c1cff6c ("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