From: Peter Griffin Date: Wed, 8 Jun 2016 09:10:02 +0000 (+0100) Subject: phy: phy-qcom-ufs-qmp-14nm: Remove site specific OOM error message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=956bc8696ecfb9ec56edd3cd2d8eb9492c34229f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git phy: phy-qcom-ufs-qmp-14nm: Remove site specific OOM error message kzalloc will issue its own error message including a dump_stack() so remote the site specific message. Signed-off-by: Peter Griffin Signed-off-by: Kishon Vijay Abraham I --- diff --git a/drivers/phy/phy-qcom-ufs-qmp-14nm.c b/drivers/phy/phy-qcom-ufs-qmp-14nm.c index 56631e77c11d..6ee51490f786 100644 --- a/drivers/phy/phy-qcom-ufs-qmp-14nm.c +++ b/drivers/phy/phy-qcom-ufs-qmp-14nm.c @@ -140,7 +140,6 @@ static int ufs_qcom_phy_qmp_14nm_probe(struct platform_device *pdev) phy = devm_kzalloc(dev, sizeof(*phy), GFP_KERNEL); if (!phy) { - dev_err(dev, "%s: failed to allocate phy\n", __func__); err = -ENOMEM; goto out; }