mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 03:35:32 -04: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:
@@ -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