]> Gentwo Git Trees - linux/.git/commit
PCI: plda: Remove dev_err_probe() when the errno is -ENOMEM
authorXichao Zhao <zhao.xichao@vivo.com>
Wed, 20 Aug 2025 08:52:00 +0000 (16:52 +0800)
committerManivannan Sadhasivam <mani@kernel.org>
Mon, 8 Sep 2025 10:14:31 +0000 (15:44 +0530)
commit882569dca6646eb3294ec048d76f9bfea1f3348f
tree1a0c48ff6a5122907306ebeeea881c7b05847065
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
PCI: plda: Remove dev_err_probe() when the errno is -ENOMEM

The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
Therefore, remove the useless call to dev_err_probe(), and just
return the value instead.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
[mani: reworded the subject]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
drivers/pci/controller/plda/pcie-plda-host.c