mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
crypto: rockchip - Remove redundant dev_err()
Since commit 55b48e23f5 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_irq() automatically logs
detailed error messages on failure. Remove the now-redundant
driver-specific dev_err() calls.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
1222a24f79
commit
01138b8195
|
|
@ -365,10 +365,8 @@ static int rk_crypto_probe(struct platform_device *pdev)
|
|||
rk_crypto_irq_handle, IRQF_SHARED,
|
||||
"rk-crypto", pdev);
|
||||
|
||||
if (err) {
|
||||
dev_err(&pdev->dev, "irq request failed.\n");
|
||||
if (err)
|
||||
goto err_crypto;
|
||||
}
|
||||
|
||||
crypto_info->engine = crypto_engine_alloc_init(&pdev->dev, true);
|
||||
if (!crypto_info->engine) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user