mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 03:35:32 -04:00
ata: pata_mpc52xx: 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() call.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
This commit is contained in:
committed by
Damien Le Moal
parent
9bf9aefdc0
commit
5aef4cb321
@@ -769,10 +769,8 @@ static int mpc52xx_ata_probe(struct platform_device *op)
|
||||
task_irq = bcom_get_task_irq(dmatsk);
|
||||
rv = devm_request_irq(&op->dev, task_irq, &mpc52xx_ata_task_irq, 0,
|
||||
"ATA task", priv);
|
||||
if (rv) {
|
||||
dev_err(&op->dev, "error requesting DMA IRQ\n");
|
||||
if (rv)
|
||||
goto err2;
|
||||
}
|
||||
priv->dmatsk = dmatsk;
|
||||
|
||||
/* Init the hw */
|
||||
|
||||
Reference in New Issue
Block a user