Re: [PATCH] crypto: talitos - eliminate unneeded 'done' functions at build time

2019-06-27 Thread Herbert Xu
On Mon, Jun 17, 2019 at 09:14:45PM +, Christophe Leroy wrote: > When building for SEC1 only, talitos2_done functions are unneeded > and should go away. > > For this, use has_ftr_sec1() which will always return true when only > SEC1 support is being built, allowing GCC to drop TALITOS2 function

[PATCH] crypto: talitos - eliminate unneeded 'done' functions at build time

2019-06-17 Thread Christophe Leroy
When building for SEC1 only, talitos2_done functions are unneeded and should go away. For this, use has_ftr_sec1() which will always return true when only SEC1 support is being built, allowing GCC to drop TALITOS2 functions. Signed-off-by: Christophe Leroy Reviewed-by: Horia Geantă --- taken o