Commit 56785a3a authored by Kai Ye's avatar Kai Ye Committed by Greg Kroah-Hartman
Browse files

crypto: hisilicon/qm - delete redundant null assignment operations



[ Upstream commit 7bbbc9d8 ]

There is no security data in the pointer. It is only a value transferred
as a structure. It makes no sense to zero a variable that is on the stack.
So not need to set the pointer to null.

Signed-off-by: default avatarKai Ye <yekai13@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Stable-dep-of: 5831fc1f ("crypto: hisilicon/qm - fix PF queue parameter issue")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent bafb12b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment