lib/hashtable.c: create helper for calling env_entry::callback
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Thu, 27 Feb 2020 13:56:11 +0000 (13:56 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 24 Apr 2020 14:09:59 +0000 (10:09 -0400)
commit7f529f6585cee9915e89b879acfaa3aaa05dec61
tree5bce2788af9f67b8854f78bcb74931b1b99e6fce
parente13df08a2685345f12ae1ec1d99ea3f599d58360
lib/hashtable.c: create helper for calling env_entry::callback

This is preparation for compiling out the "call the callback" code and
associated error handling for SPL, where ->callback is always NULL.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/hashtable.c