提交 7bbbc9d8 编写于 作者: K Kai Ye 提交者: Herbert Xu

crypto: hisilicon/qm - delete redundant null assignment operations

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: NKai Ye <yekai13@huawei.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 e6cb02bd
......@@ -1773,7 +1773,6 @@ static void dfx_regs_uninit(struct hisi_qm *qm,
dregs[i].regs = NULL;
}
kfree(dregs);
dregs = NULL;
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册