mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
cache: sifive_ccache: Remove redundant dev_err_probe()
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_probe() calls.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
This commit is contained in:
parent
8a5d6c13cc
commit
75effa4475
2
drivers/cache/sifive_ccache.c
vendored
2
drivers/cache/sifive_ccache.c
vendored
|
|
@ -275,7 +275,7 @@ static int sifive_ccache_probe(struct platform_device *pdev)
|
|||
|
||||
rc = devm_request_irq(dev, g_irq[i], ccache_int_handler, 0, "ccache_ecc", NULL);
|
||||
if (rc)
|
||||
return dev_err_probe(dev, rc, "Could not request IRQ %d\n", g_irq[i]);
|
||||
return rc;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user