mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
nvme-apple: 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.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Pan Chuang <panchuang@vivo.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
This commit is contained in:
parent
08660a5c8d
commit
13330446ca
|
|
@ -1583,10 +1583,8 @@ static struct apple_nvme *apple_nvme_alloc(struct platform_device *pdev)
|
|||
|
||||
ret = devm_request_irq(anv->dev, anv->irq, apple_nvme_irq, 0,
|
||||
"nvme-apple", anv);
|
||||
if (ret) {
|
||||
dev_err_probe(dev, ret, "Failed to request IRQ");
|
||||
if (ret)
|
||||
goto put_dev;
|
||||
}
|
||||
|
||||
anv->rtk =
|
||||
devm_apple_rtkit_init(dev, anv, NULL, 0, &apple_nvme_rtkit_ops);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user