From patchwork Fri Oct 17 17:16:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 38963 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4E95420973 for ; Fri, 17 Oct 2014 17:19:23 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id e51sf799281eek.7 for ; Fri, 17 Oct 2014 10:19:22 -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=7/WD0O7Q3/IUfuupOsrDAjIkmjULtrMP0TClAvkBiR0=; b=exl4Uds0Vz71FWTYPahktKCRU40YDKk4yHrR1esmWQpJK7RiN7R+mBGMgJ9OrvZLi1 WRNrWMZRjgEKW+GGGzq2TjDCeSpjg6BjpEel4XRcLw7F3goEh3MjuG7o8y4MfJk0Kqqx gNvST88Dk80jzNRJhQXmhYE5LUs+Q3rdlobZP1gszEFBbue2It45Ud6btGiSnq5yRXu6 BI6PcxsavlfC9V+cSWjINRibSM4KoP9tapcbk6h4nNVP4m37k6xTKuzUjAIHGdz5Y31T 4aI/YpNVR2ilMspNj+RXX3uKglJk1Q/IqlUhIeVfN5GEBjyr3Uv0ScUbkpcaDIsbCcQO 7NwQ== X-Gm-Message-State: ALoCoQkxUNN/1HE/YgOf0T+sDTqA2M7IMhaLLI8UI1wJzxwfbvYps/DGFqNYrKo1OYjkrqtDuoWB X-Received: by 10.180.75.133 with SMTP id c5mr54914wiw.3.1413566362496; Fri, 17 Oct 2014 10:19:22 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.6.42 with SMTP id cr10ls265354lad.73.gmail; Fri, 17 Oct 2014 10:19:22 -0700 (PDT) X-Received: by 10.112.234.201 with SMTP id ug9mr10481982lbc.14.1413566362341; Fri, 17 Oct 2014 10:19:22 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id sd8si3026588lbb.36.2014.10.17.10.19.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:19:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by mail-lb0-f181.google.com with SMTP id l4so1050367lbv.12 for ; Fri, 17 Oct 2014 10:19:22 -0700 (PDT) X-Received: by 10.152.87.98 with SMTP id w2mr10091264laz.27.1413566362026; Fri, 17 Oct 2014 10:19:22 -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 c5csp268283lbz; Fri, 17 Oct 2014 10:19:21 -0700 (PDT) X-Received: by 10.68.221.69 with SMTP id qc5mr3095703pbc.159.1413566350470; Fri, 17 Oct 2014 10:19:10 -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.09 for ; Fri, 17 Oct 2014 10:19:10 -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 S1753694AbaJQRSW (ORCPT + 3 others); Fri, 17 Oct 2014 13:18:22 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:55820 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753660AbaJQRSM (ORCPT ); Fri, 17 Oct 2014 13:18:12 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9HHI42v011740; Fri, 17 Oct 2014 12:18:04 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHI4Ox001100; Fri, 17 Oct 2014 12:18:04 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Fri, 17 Oct 2014 12:18:04 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHI3N8030378; Fri, 17 Oct 2014 12:18:04 -0500 From: Felipe Balbi To: Linux USB Mailing List CC: Greg KH , , Paul Zimmerman , , , , , , , Peter Chen , Felipe Balbi Subject: [PATCH 37/67] usb: phy: phy-rcar-gen2-usb: delete unnecessary 'out of memory' messages Date: Fri, 17 Oct 2014 12:16:44 -0500 Message-ID: <1413566234-13537-38-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.181 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-rcar-gen2-usb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/phy/phy-rcar-gen2-usb.c b/drivers/usb/phy/phy-rcar-gen2-usb.c index 388d89f..f838084 100644 --- a/drivers/usb/phy/phy-rcar-gen2-usb.c +++ b/drivers/usb/phy/phy-rcar-gen2-usb.c @@ -195,10 +195,8 @@ static int rcar_gen2_usb_phy_probe(struct platform_device *pdev) return PTR_ERR(base); priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); - if (!priv) { - dev_err(dev, "Memory allocation failed\n"); + if (!priv) return -ENOMEM; - } spin_lock_init(&priv->lock); priv->clk = clk;