crypto: allwinner - remove redundant platform_get_irq error message
Function dev_err() after platform_get_irq() is redundant because platform_get_irq() already prints an error. Signed-off-by: Chen Zhou <chenzhou10@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
00adbe714b
commit
9ce9a5d5c3
|
@ -565,10 +565,8 @@ static int sun8i_ce_probe(struct platform_device *pdev)
|
|||
|
||||
/* Get Non Secure IRQ */
|
||||
irq = platform_get_irq(pdev, 0);
|
||||
if (irq < 0) {
|
||||
dev_err(ce->dev, "Cannot get CryptoEngine Non-secure IRQ\n");
|
||||
if (irq < 0)
|
||||
return irq;
|
||||
}
|
||||
|
||||
ce->reset = devm_reset_control_get(&pdev->dev, NULL);
|
||||
if (IS_ERR(ce->reset)) {
|
||||
|
|
Loading…
Reference in New Issue