lib/hashtable.c: don't test ->callback in SPL
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)
commit34284970a1736e7be35bef74e4f8e429e703c1ce
treea1c3e2b156a0c02346fc8c387baaa65ef1e23c7d
parent7f529f6585cee9915e89b879acfaa3aaa05dec61
lib/hashtable.c: don't test ->callback in SPL

In SPL, environment callbacks are not supported, so e->callback is
always NULL. Removing this makes the SPL a little smaller (about 400
bytes in my ppc build) with no functional change.

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