[PATCH -next] scsi: ufs: ufs-mediatek: Remove surplus dev_err()

Martin K. Petersen martin.petersen at oracle.com
Sun Jul 23 12:27:26 PDT 2023


Yang,

> There is no need to call the dev_err() function directly to print a
> custom message when handling an error from either the platform_get_irq()
> or platform_get_irq_byname() functions as both are going to display an
> appropriate error message in case of a failure.

Applied to 6.6/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-mediatek mailing list