crypto: hisilicon/hpre - delete redundant log
PATCH v2 1/1 crypto: hisilicon/hpre - delete redundant log
'hpre_cfg_by_dsm' has checked and printed error path internally. It is not necessary to do it here, so remove it.
v1 -> v2:
- Return immediately when return value of 'hpre_cfg_by_dsm' is non-zero.
--- drivers/crypto/hisilicon/hpre/hpre_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/hisilicon/hpre/hpre_main.c +1 -1
@@ -386,7 +386,7 @@ static int hpre_set_user_domain_and_cache(struct hisi_qm *qm)if (qm->ver ==QM_HW_V2 ) { ret =hpre_cfg_by_dsm (qm);if (ret) -dev_err (dev,"acpi_evaluate_dsm err.\n" ); +return ret;disable_flr_of_bme (qm); }
Signature · 1 line
2.8.1
Herbert Xu
maintainerQuoted 10 lines · Hui Tang
'
hpre_cfg_by_dsm' has checked and printed error path internally. It is not necessary to do it here, so remove it.Signed-off-by Hui Tang <[email protected]>v1 -> v2:
- Return immediately when return value of 'hpre_cfg_by_dsm' is non-zero.--- drivers/crypto/hisilicon/hpre/hpre_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Your patch description is misleading as the patch does moe than just remove the redundant printk. Please rephrase so that it is clear that the patch is in fact changing behaviour.
Thanks,
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Quoted 12 lines · Herbert Xu
Quoted 10 lines · Hui Tang
'
hpre_cfg_by_dsm' has checked and printed error path internally. It is not necessary to do it here, so remove it.Signed-off-by Hui Tang <[email protected]>v1 -> v2:
- Return immediately when return value of 'hpre_cfg_by_dsm' is non-zero.--- drivers/crypto/hisilicon/hpre/hpre_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 3 lines
Your patch description is misleading as the patch does moe than just remove the redundant printk. Please rephrase so that it is clear that the patch is in fact changing behaviour.
Okay, I will fix it in next version.