From patchwork Fri Oct 17 17:16:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 38968 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 39D28202DB for ; Fri, 17 Oct 2014 17:19:31 +0000 (UTC) Received: by mail-la0-f71.google.com with SMTP id gi9sf718625lab.10 for ; Fri, 17 Oct 2014 10:19:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=5AnTJh0vyOD653KKvScDbevWTtMUadm0xAoJ4CaJPd8=; b=gWMwWpjpcy6EZ1/Gzjkmf4tcIFniHATnKT4e5Vw4NuWRjFfLGHSJVyWfC6DdNgbMBy UUeXgvTrbEf6WVamGe8P6J+j0OK9Z/HXRLDAJzfotJAYRGNr/lS+YY+lDwUn0WVpxRqb u63yqe+yar2SSG6kfPXSblhr3QvbuXr4EqkxZa8oqWbKgJwr1pL0FxJ9qe4b1uTLeEq8 5KI5hyQkOip6qY0crXQ/f+PyCxbnlKj1S0IfeYL+f8UZ/AuZD/VkLLFIU90hbAD6XJZp eYzXrx3es4ADMrTtBdBqWHKGQVhmFx0HIwkW1agknUwgMokNLd4QKNSN56gZcrRrw7ui 3oxg== X-Gm-Message-State: ALoCoQk9nLsN9087CAKsxwuG99aYvSu72r2LUQkJ8qNboqxb4AHkD9jF4Iqq9n4xtf559z+7EFNZ X-Received: by 10.112.254.226 with SMTP id al2mr1595583lbd.1.1413566369999; Fri, 17 Oct 2014 10:19:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.115.207 with SMTP id jq15ls317995lab.49.gmail; Fri, 17 Oct 2014 10:19:29 -0700 (PDT) X-Received: by 10.112.221.226 with SMTP id qh2mr10318144lbc.5.1413566369893; Fri, 17 Oct 2014 10:19:29 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id j2si2983053lbv.86.2014.10.17.10.19.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:19:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by mail-lb0-f169.google.com with SMTP id 10so1036097lbg.14 for ; Fri, 17 Oct 2014 10:19:29 -0700 (PDT) X-Received: by 10.112.221.197 with SMTP id qg5mr10217707lbc.32.1413566369819; Fri, 17 Oct 2014 10:19:29 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp268318lbz; Fri, 17 Oct 2014 10:19:29 -0700 (PDT) X-Received: by 10.68.135.33 with SMTP id pp1mr9759575pbb.120.1413566361441; Fri, 17 Oct 2014 10:19:21 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tf2si376641pac.129.2014.10.17.10.19.20 for ; Fri, 17 Oct 2014 10:19:21 -0700 (PDT) Received-SPF: none (google.com: linux-usb-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753683AbaJQRSS (ORCPT + 3 others); Fri, 17 Oct 2014 13:18:18 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:36431 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753661AbaJQRSN (ORCPT ); Fri, 17 Oct 2014 13:18:13 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9HHI56W029032; Fri, 17 Oct 2014 12:18:05 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHI5JH029675; Fri, 17 Oct 2014 12:18:05 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Fri, 17 Oct 2014 12:18:05 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHI43f030689; Fri, 17 Oct 2014 12:18:05 -0500 From: Felipe Balbi To: Linux USB Mailing List CC: Greg KH , , Paul Zimmerman , , , , , , , Peter Chen , Felipe Balbi Subject: [PATCH 38/67] usb: phy: phy-mxs-usb: delete unnecessary 'out of memory' messages Date: Fri, 17 Oct 2014 12:16:45 -0500 Message-ID: <1413566234-13537-39-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.1.0.GIT In-Reply-To: <1413566234-13537-1-git-send-email-balbi@ti.com> References: <1413566234-13537-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Peter Chen The memory subsystem has already had similar message for it. Signed-off-by: Peter Chen Signed-off-by: Felipe Balbi --- drivers/usb/phy/phy-mxs-usb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c index 0e0c415..a55dadc 100644 --- a/drivers/usb/phy/phy-mxs-usb.c +++ b/drivers/usb/phy/phy-mxs-usb.c @@ -390,10 +390,8 @@ static int mxs_phy_probe(struct platform_device *pdev) } mxs_phy = devm_kzalloc(&pdev->dev, sizeof(*mxs_phy), GFP_KERNEL); - if (!mxs_phy) { - dev_err(&pdev->dev, "Failed to allocate USB PHY structure!\n"); + if (!mxs_phy) return -ENOMEM; - } /* Some SoCs don't have anatop registers */ if (of_get_property(np, "fsl,anatop", NULL)) {