Message ID | 20221105095357.21199-5-yekai13@huawei.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Herbert Xu |
Headers | show |
Series | crypto: hisilicon/qm - reconstruct and optimize the debugfs code | expand |
diff --git a/drivers/crypto/hisilicon/debugfs.c b/drivers/crypto/hisilicon/debugfs.c index 9f1bfabd7ae2..bcd5cdaea736 100644 --- a/drivers/crypto/hisilicon/debugfs.c +++ b/drivers/crypto/hisilicon/debugfs.c @@ -822,7 +822,6 @@ static void dfx_regs_uninit(struct hisi_qm *qm, dregs[i].regs = NULL; } kfree(dregs); - dregs = NULL; } static struct dfx_diff_registers *dfx_regs_init(struct hisi_qm *qm,
There is no security data in the pointer. It is only a value transferred as a structure. So not need to set the pointer to null. Signed-off-by: Kai Ye <yekai13@huawei.com> --- drivers/crypto/hisilicon/debugfs.c | 1 - 1 file changed, 1 deletion(-)