]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: mediatek - remove redundant bitwise-or
authorColin Ian King <colin.king@canonical.com>
Wed, 23 Oct 2019 11:48:24 +0000 (12:48 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Nov 2019 05:38:31 +0000 (13:38 +0800)
commit2f087df1dfe6d313473646bc63e9ecb9e67327e3
tree58ca6d58c6b0814958de734e79ad31a4ae0916f1
parent9c54fe68d78e742abeeb4c4c741b223e955a1bc2
crypto: mediatek - remove redundant bitwise-or

Bitwise-or'ing 0xffffffff with the u32 variable ctr is the same result
as assigning the value to ctr.  Remove the redundant bitwise-or and
just use an assignment.

Addresses-Coverity: ("Suspicious &= or |= constant expression")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mediatek/mtk-aes.c