From patchwork Fri Oct 17 17:16:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 38964 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 725E0202DB for ; Fri, 17 Oct 2014 17:19:24 +0000 (UTC) Received: by mail-la0-f69.google.com with SMTP id q1sf724418lam.0 for ; Fri, 17 Oct 2014 10:19:23 -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=LXopagoZleXiSI63eB+ugKxRcgX4VnlZcqiKFa8mXao=; b=Tn5FKgAe0+NyMhdC0zjtfj/uE3lD0wgmaEUNWJqUloSbKy9oeGrUXXvNkvtabaPWP8 6HbdYloF64ASImlJuC9jcxN+0lpx+jwv1KrniVdx+rx4ZOmnag2JF7QErcbBEql6InJQ syG7gZQBW1SSkx+mL05EAJQaHj9M5fbhU2vIOWnuY6Ig28I8Oa8ke6J/yA+iZog5DRBy pZQbCORrzuM6SIpKkon2Wu1jf2uF1aJXpLuww7yhlT/MZEoj32xDkPGHf3saNPLQq4z4 reDBioXCwiwMqy8NkXZF7Gb9Do8NPMb2W0MzmtQI/89mg9wNuxGcaIiFy4GKdr6KzITA MqXg== X-Gm-Message-State: ALoCoQkPhV8dnrVuARaviRQbuLXGFnKb6KgHjfyylHwHbgyZEim/poraf5BqsMp5wUWaxqcYq6+A X-Received: by 10.152.88.70 with SMTP id be6mr1601755lab.1.1413566363317; Fri, 17 Oct 2014 10:19:23 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.169 with SMTP id c9ls259660laa.56.gmail; Fri, 17 Oct 2014 10:19:23 -0700 (PDT) X-Received: by 10.153.5.33 with SMTP id cj1mr10395590lad.36.1413566363215; Fri, 17 Oct 2014 10:19:23 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id o8si3008187lbc.59.2014.10.17.10.19.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:19:23 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by mail-la0-f49.google.com with SMTP id q1so1049354lam.22 for ; Fri, 17 Oct 2014 10:19:23 -0700 (PDT) X-Received: by 10.152.5.38 with SMTP id p6mr5628798lap.44.1413566363138; Fri, 17 Oct 2014 10:19:23 -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 c5csp268289lbz; Fri, 17 Oct 2014 10:19:22 -0700 (PDT) X-Received: by 10.66.243.3 with SMTP id wu3mr9807405pac.87.1413566352454; Fri, 17 Oct 2014 10:19:12 -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.11 for ; Fri, 17 Oct 2014 10:19:12 -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 S1753813AbaJQRTI (ORCPT + 3 others); Fri, 17 Oct 2014 13:19:08 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:36452 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753659AbaJQRSW (ORCPT ); Fri, 17 Oct 2014 13:18:22 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9HHI8hl029035; Fri, 17 Oct 2014 12:18:08 -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 s9HHI8uA001178; Fri, 17 Oct 2014 12:18:08 -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:08 -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 s9HHI75q030730; Fri, 17 Oct 2014 12:18:08 -0500 From: Felipe Balbi To: Linux USB Mailing List CC: Greg KH , , Paul Zimmerman , , , , , , , Peter Chen , Felipe Balbi Subject: [PATCH 41/67] usb: renesas_usbhs: delete unnecessary 'out of memory' messages Date: Fri, 17 Oct 2014 12:16:48 -0500 Message-ID: <1413566234-13537-42-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.215.49 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/renesas_usbhs/common.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c index b3b6813..6dae115 100644 --- a/drivers/usb/renesas_usbhs/common.c +++ b/drivers/usb/renesas_usbhs/common.c @@ -505,10 +505,8 @@ static int usbhs_probe(struct platform_device *pdev) /* usb private data */ priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); - if (!priv) { - dev_err(&pdev->dev, "Could not allocate priv\n"); + if (!priv) return -ENOMEM; - } priv->base = devm_ioremap_resource(&pdev->dev, res); if (IS_ERR(priv->base))