crypto: ccp - Remove redundant __GFP_ZERO

Remove the redundant __GFP_ZERO flag from kzalloc() since kzalloc()
inherently zeroes memory.

Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Qianfeng Rong 2025-08-08 15:44:26 +08:00 committed by Herbert Xu
parent d223619883
commit 34c065fe1d

View file

@ -84,7 +84,7 @@ static int psp_poulate_hsti(struct psp_device *psp)
return 0;
/* Allocate command-response buffer */
req = kzalloc(sizeof(*req), GFP_KERNEL | __GFP_ZERO);
req = kzalloc(sizeof(*req), GFP_KERNEL);
if (!req)
return -ENOMEM;