mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
crypto: safexcel - Remove redundant dev_err()
Since commit 55b48e23f5 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_threaded_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:
@@ -1172,10 +1172,8 @@ static int safexcel_request_ring_irq(void *pdev, int irqid,
|
||||
ret = devm_request_threaded_irq(dev, irq, handler,
|
||||
threaded_handler, IRQF_ONESHOT,
|
||||
dev_name(dev), ring_irq_priv);
|
||||
if (ret) {
|
||||
dev_err(dev, "unable to request IRQ %d\n", irq);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Set affinity */
|
||||
cpu = cpumask_local_spread(ring_id, NUMA_NO_NODE);
|
||||
|
||||
Reference in New Issue
Block a user