mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01: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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
1 parent
1222a24f79
commit
01138b8195
1 file changed
+1
-3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user