OSDN Git Service

crypto: sa2ul - fix compiler warning produced by clang
authorTero Kristo <t-kristo@ti.com>
Tue, 25 Aug 2020 13:31:06 +0000 (16:31 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Sep 2020 04:39:13 +0000 (14:39 +1000)
commit17bce37e1b5eca95f9da783a07930b6d608c1389
tree2fcb1b924bcc3de2d99ef57e5317f0ee7c8e352e
parentc68e418c603f011ff0e7f4e1fb0f7edc48a04f7e
crypto: sa2ul - fix compiler warning produced by clang

Clang detects a warning for an assignment that doesn't really do
anything. Fix this by removing the offending piece of code.

Fixes: 7694b6ca649f ("crypto: sa2ul - Add crypto driver")
Reported-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com> # build
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sa2ul.c