mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
scsi: ufs: host: 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>
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20260717035013.563791-1-panchuang@vivo.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
9b61402740
commit
0cad7bd513
|
|
@ -2276,10 +2276,8 @@ static int ufs_mtk_config_mcq_irq(struct ufs_hba *hba)
|
|||
|
||||
dev_dbg(hba->dev, "request irq %d intr %s\n", irq, ret ? "failed" : "");
|
||||
|
||||
if (ret) {
|
||||
dev_err(hba->dev, "Cannot request irq %d\n", ret);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
host->is_mcq_intr_enabled = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -2431,8 +2431,6 @@ static int ufs_qcom_config_esi(struct ufs_hba *hba)
|
|||
ret = devm_request_irq(hba->dev, qi[idx].irq, ufs_qcom_mcq_esi_handler,
|
||||
IRQF_SHARED, "qcom-mcq-esi", qi + idx);
|
||||
if (ret) {
|
||||
dev_err(hba->dev, "%s: Failed to request IRQ for %d, err = %d\n",
|
||||
__func__, qi[idx].irq, ret);
|
||||
/* Free previously allocated IRQs */
|
||||
for (int j = 0; j < idx; j++)
|
||||
devm_free_irq(hba->dev, qi[j].irq, qi + j);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user