mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:04:51 +01:00
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:
parent
d223619883
commit
34c065fe1d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue