OSDN Git Service

crypto: inside-secure - remove useless check
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 27 May 2019 14:50:56 +0000 (16:50 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Jun 2019 06:38:55 +0000 (14:38 +0800)
commit709ecc101aea53d3625b688697b7c9dc4235716d
tree3beea7162550642db8f96e43a4725edcf385d2f2
parent0733eabadc90f148dd96e1d41c8a644312a6ab18
crypto: inside-secure - remove useless check

When sending an ahash request, the code checks for the extra variable
not to be 0. This check is useless as the extra variable can't be 0 at
this point (it is checked on the line just before).

This patch does not modify the driver behaviour in any way.

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