Re: [PATCH 3/4] lib/hashtable.c: don't test ->callback in SPL

2020-04-24 Thread Tom Rini
On Thu, Feb 27, 2020 at 01:56:11PM +, Rasmus Villemoes wrote: > 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 >

Re: [PATCH 3/4] lib/hashtable.c: don't test ->callback in SPL

2020-02-27 Thread Simon Glass
On Thu, 27 Feb 2020 at 05:56, Rasmus Villemoes wrote: > > 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 > --- >

[PATCH 3/4] lib/hashtable.c: don't test ->callback in SPL

2020-02-27 Thread Rasmus Villemoes
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 --- lib/hashtable.c | 2 ++ 1 file changed, 2 insertions(+) diff --git