crypto: inside-secure - only dequeue when needed
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Thu, 15 Jun 2017 07:56:27 +0000 (09:56 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Jun 2017 03:21:47 +0000 (11:21 +0800)
commit5eb0cc66f3a3cad46c2e432342f2a3c20c992b94
tree24ccbdbafee8f430166511e4dd1cbc2ce3c9cc71
parentb1deb47ad10b71a7d62dfdb049735a1be2214eb2
crypto: inside-secure - only dequeue when needed

This force the need_dequeue flag to be unset whenever the dequeue
function is called, to avoid calling it when it is not necessary.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c