]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon - remove redundant assignment of pointer ctx
authorColin Ian King <colin.king@canonical.com>
Sat, 22 Feb 2020 14:24:09 +0000 (14:24 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Feb 2020 00:43:21 +0000 (08:43 +0800)
commit6336a8ddf8804eaaf960f8ef9b8008ef40999661
tree18822c6c9aeecf3528ed840afae9cbd039104fe2
parentea4953e2b0ab000317f6b316ecb7bdf0ec69fd2d
crypto: hisilicon - remove redundant assignment of pointer ctx

Pointer ctx is being re-assigned with the same value as it
was initialized with. The second assignment is redundant and
can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sec2/sec_crypto.c