crypto: sun8i-ss - Delete an error message in sun8i_ss_probe()
The function “platform_get_irq” can log an error already. Thus omit a redundant message for the exception handling in the calling function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
committed by
Herbert Xu
parent
f72fed86a5
commit
56b80bdee4
@@ -537,10 +537,8 @@ static int sun8i_ss_probe(struct platform_device *pdev)
|
|||||||
return err;
|
return err;
|
||||||
|
|
||||||
irq = platform_get_irq(pdev, 0);
|
irq = platform_get_irq(pdev, 0);
|
||||||
if (irq < 0) {
|
if (irq < 0)
|
||||||
dev_err(ss->dev, "Cannot get SecuritySystem IRQ\n");
|
|
||||||
return irq;
|
return irq;
|
||||||
}
|
|
||||||
|
|
||||||
ss->reset = devm_reset_control_get(&pdev->dev, NULL);
|
ss->reset = devm_reset_control_get(&pdev->dev, NULL);
|
||||||
if (IS_ERR(ss->reset)) {
|
if (IS_ERR(ss->reset)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user