From patchwork Wed Jun 8 09:10:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 69600 Delivered-To: patches@linaro.org Received: by 10.140.106.246 with SMTP id e109csp2385369qgf; Wed, 8 Jun 2016 02:10:07 -0700 (PDT) X-Received: by 10.28.195.69 with SMTP id t66mr6931552wmf.95.1465377007710; Wed, 08 Jun 2016 02:10:07 -0700 (PDT) Return-Path: Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com. [2a00:1450:400c:c09::22d]) by mx.google.com with ESMTPS id z191si1004560wme.56.2016.06.08.02.10.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jun 2016 02:10:07 -0700 (PDT) Received-SPF: pass (google.com: domain of peter.griffin@linaro.org designates 2a00:1450:400c:c09::22d as permitted sender) client-ip=2a00:1450:400c:c09::22d; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of peter.griffin@linaro.org designates 2a00:1450:400c:c09::22d as permitted sender) smtp.mailfrom=peter.griffin@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-wm0-x22d.google.com with SMTP id m124so7239525wme.1 for ; Wed, 08 Jun 2016 02:10:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=CXP0ppz//OmF/CC/bR1bY2xLGyqR0aC+5ERhXupp/2E=; b=fc76Xrh54mgoEfc+t4i5WBg5IEGW/FErWwCAPkssvIIgAarA14i06hI1Qsc2Ie7G4t W0Ic0DrJtYHKr2nhCbW9s8BSGpLm+Vh6JWr3jiaGH0Wvag6q0zSZH3iWvkMZYPYNU9Xb t963nHQsWoKn0joGdPQdlst2a0SaosZZp+0dE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CXP0ppz//OmF/CC/bR1bY2xLGyqR0aC+5ERhXupp/2E=; b=bNRhbfObj+aGfNA8BfTv1cX8md/8JcaLdwaSmWejlU0W7rSGkphs7eVq0TWWY2Beg2 gf5xY5NgBDQ3ozsOxX2xxNR1L4DGSYty6yAaMSN4k3DtXrkMIN6xTpA2F1cKPf4/VXgB SStlj7SnAJOgxMP1h8KS5wkCq7q5uA3hTptMrHuG9CAJ4Lm/uYXiFBRzuke63/D82GmS SKdeHokW764XzBBbAwPHtKOianOt390Nwp26tjV76DC/6bIpbYyUCGo1OLqtrIA6znbJ ukpKFs12crBd5EXX8SpP2EVwdr+GwM9V7dx9czImd/MSagZTqJzpp8iM1Y+ms1fyXxn+ Omeg== X-Gm-Message-State: ALyK8tJ2czasuIGxuhpvyB/EZkSNbN67nHPN7xGt/b0EvwuNL2rH5m4rVLrD/AhDLNeNwVcrQAY= X-Received: by 10.194.104.138 with SMTP id ge10mr3156743wjb.85.1465377007306; Wed, 08 Jun 2016 02:10:07 -0700 (PDT) Return-Path: Received: from localhost.localdomain (cpc84731-aztw28-2-0-cust112.18-1.cable.virginm.net. [82.37.67.113]) by smtp.gmail.com with ESMTPSA id y1sm311513wjl.31.2016.06.08.02.10.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Jun 2016 02:10:06 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kishon@ti.com Cc: peter.griffin@linaro.org, patches@linaro.org, lee.jones@linaro.org, baruch@tkos.co.il Subject: [PATCH v2 1/2] phy: phy-qcom-ufs-qmp-14nm: Remove site specific OOM error message Date: Wed, 8 Jun 2016 10:10:02 +0100 Message-Id: <1465377003-25660-1-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 kzalloc will issue its own error message including a dump_stack() so remote the site specific message. Signed-off-by: Peter Griffin --- v2: Add brackets so goto is not executed unconditionally (Baruch) --- drivers/phy/phy-qcom-ufs-qmp-14nm.c | 1 - 1 file changed, 1 deletion(-) -- 1.9.1 diff --git a/drivers/phy/phy-qcom-ufs-qmp-14nm.c b/drivers/phy/phy-qcom-ufs-qmp-14nm.c index 56631e7..6ee5149 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; }