2021-04-14 15:33:50

by Wan Jiabing

[permalink] [raw]
Subject: [PATCH] crypto: ux500: cryp: Remove duplicate argument

Fix the following coccicheck warning:

./drivers/crypto/ux500/cryp/cryp_p.h:84:6-27:duplicated argument to |

Signed-off-by: Wan Jiabing <[email protected]>
---
drivers/crypto/ux500/cryp/cryp_p.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/crypto/ux500/cryp/cryp_p.h b/drivers/crypto/ux500/cryp/cryp_p.h
index 0df84eaa8531..cbbca0020eb1 100644
--- a/drivers/crypto/ux500/cryp/cryp_p.h
+++ b/drivers/crypto/ux500/cryp/cryp_p.h
@@ -81,7 +81,6 @@
CRYP_CR_PRLG_MASK |\
CRYP_CR_ALGODIR_MASK |\
CRYP_CR_ALGOMODE_MASK |\
- CRYP_CR_DATATYPE_MASK |\
CRYP_CR_KEYSIZE_MASK |\
CRYP_CR_KEYRDEN_MASK |\
CRYP_CR_DATATYPE_MASK)
--
2.25.1


2021-04-22 07:46:58

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: ux500: cryp: Remove duplicate argument

On Wed, Apr 14, 2021 at 07:38:59PM +0800, Wan Jiabing wrote:
> Fix the following coccicheck warning:
>
> ./drivers/crypto/ux500/cryp/cryp_p.h:84:6-27:duplicated argument to |
>
> Signed-off-by: Wan Jiabing <[email protected]>
> ---
> drivers/crypto/ux500/cryp/cryp_p.h | 1 -
> 1 file changed, 1 deletion(-)

Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt