Re: [PATCH] crypto: talitos - eliminate unneeded 'done' functions at build time
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2019-06-28 04:18:56
Also in:
linux-crypto, lkml
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2019-06-28 04:18:56
Also in:
linux-crypto, lkml
On Mon, Jun 17, 2019 at 09:14:45PM +0000, 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 functions. Signed-off-by: Christophe Leroy <redacted> Reviewed-by: Horia Geantă <horia.geanta@nxp.com> --- taken out of the "Additional fixes on Talitos driver" series as it can be applied independently drivers/crypto/talitos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks. -- Email: Herbert Xu [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt