diff options
| author | Pan Chuang <panchuang@vivo.com> | 2026-07-16 11:33:01 +0800 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-07-28 14:06:02 -0700 |
| commit | 13330446caef56de008ecb9ad2a1545ce2fedd0a (patch) | |
| tree | b2c73a38061e1e5f0e0177f3e83ea6235dfb5609 | |
| parent | 08660a5c8d497f43191635d97efd31cd35051f15 (diff) | |
nvme-apple: Remove redundant dev_err_probe()
Since commit 55b48e23f5c4 ("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>
| -rw-r--r-- | drivers/nvme/host/apple.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/nvme/host/apple.c b/drivers/nvme/host/apple.c index 2723bc1a7d8a..09eb2295ceee 100644 --- a/drivers/nvme/host/apple.c +++ b/drivers/nvme/host/apple.c @@ -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); |
