mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
crypto: octeontx2 - 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
ac2ad1af8a
commit
1222a24f79
|
|
@ -430,11 +430,8 @@ static int cptpf_register_afpf_mbox_intr(struct otx2_cptpf_dev *cptpf)
|
|||
/* Register AF-PF mailbox interrupt handler */
|
||||
ret = devm_request_irq(dev, irq, otx2_cptpf_afpf_mbox_intr, 0,
|
||||
"CPTAFPF Mbox", cptpf);
|
||||
if (ret) {
|
||||
dev_err(dev,
|
||||
"IRQ registration failed for PFAF mbox irq\n");
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
/* Clear interrupt if any, to avoid spurious interrupts */
|
||||
otx2_cpt_write64(cptpf->reg_base, BLKADDR_RVUM, 0, RVU_PF_INT, 0x1ULL);
|
||||
/* Enable AF-PF interrupt */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user