From patchwork Fri Oct 17 17:16:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 38938 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EA4BD20973 for ; Fri, 17 Oct 2014 17:18:34 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id y10sf721077wgg.10 for ; Fri, 17 Oct 2014 10:18:34 -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=gwvZuLZshIZ4+o0KMatZ9LTDYIhfpAhNWwCKZlXHSAI=; b=lcR58zPG6gH20sy3Km60LpdGR7LsfA7UE7OvmfU/QfH9StPR7/ms3EgH+P7MEtI/YM yihYgIbBLOEBN9cWq+Ul6qpgIicHC1msjVvQvyWX340apFyxwrcM2KZW7b66kfs1Jm+h iKfxmltGFvSllixyhDJSFeCBKeWi3miMwxJ7IHFocqinZt/NAcKahwqPzLmkwDBg9iD0 022mWzx2ZDzrO1ypceMPRtxaSEB/V6fRcJCNn7sc/fAhKhUskDILFWNeiSEj5EQzgNIC VsxgftuSVUPYpMGODFbXYzZavcPGexdOzBmaq/CqYZ90/5r6D6NoWCnfmygDGMpO/2p+ SvAQ== X-Gm-Message-State: ALoCoQlasr+5P1OaPKYy+oTEAVtahOpw3+8Ih/NeqODcZJrJaADQHAQ+yr3f64X8B1x8wdarEwkv X-Received: by 10.194.241.232 with SMTP id wl8mr627674wjc.5.1413566314178; Fri, 17 Oct 2014 10:18:34 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.7 with SMTP id g7ls280657lag.43.gmail; Fri, 17 Oct 2014 10:18:34 -0700 (PDT) X-Received: by 10.112.151.42 with SMTP id un10mr10108197lbb.21.1413566314026; Fri, 17 Oct 2014 10:18:34 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id pi7si3042449lbb.15.2014.10.17.10.18.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:18:34 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by mail-lb0-f179.google.com with SMTP id l4so1046940lbv.10 for ; Fri, 17 Oct 2014 10:18:33 -0700 (PDT) X-Received: by 10.152.5.38 with SMTP id p6mr5624283lap.44.1413566313946; Fri, 17 Oct 2014 10:18:33 -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 c5csp268126lbz; Fri, 17 Oct 2014 10:18:33 -0700 (PDT) X-Received: by 10.68.202.170 with SMTP id kj10mr3082293pbc.161.1413566311913; Fri, 17 Oct 2014 10:18:31 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sn3si1594984pbc.175.2014.10.17.10.18.31 for ; Fri, 17 Oct 2014 10:18:31 -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 S1753685AbaJQRST (ORCPT + 3 others); Fri, 17 Oct 2014 13:18:19 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:36415 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753641AbaJQRSK (ORCPT ); Fri, 17 Oct 2014 13:18:10 -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 s9HHI0Nv029014; Fri, 17 Oct 2014 12:18:00 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHI0SN000879; Fri, 17 Oct 2014 12:18:00 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Fri, 17 Oct 2014 12:18:00 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHHx9u003131; Fri, 17 Oct 2014 12:18:00 -0500 From: Felipe Balbi To: Linux USB Mailing List CC: Greg KH , , Paul Zimmerman , , , , , , , Peter Chen , Felipe Balbi Subject: [PATCH 33/67] usb: musb: musb_dsps: delete unnecessary 'out of memory' messages Date: Fri, 17 Oct 2014 12:16:40 -0500 Message-ID: <1413566234-13537-34-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.179 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/musb/musb_dsps.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 48bc09e..6209456 100644 --- a/drivers/usb/musb/musb_dsps.c +++ b/drivers/usb/musb/musb_dsps.c @@ -729,7 +729,6 @@ static int dsps_create_musb_pdev(struct dsps_glue *glue, config = devm_kzalloc(&parent->dev, sizeof(*config), GFP_KERNEL); if (!config) { - dev_err(dev, "failed to allocate musb hdrc config\n"); ret = -ENOMEM; goto err; } @@ -781,10 +780,8 @@ static int dsps_probe(struct platform_device *pdev) /* allocate glue */ glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); - if (!glue) { - dev_err(&pdev->dev, "unable to allocate glue memory\n"); + if (!glue) return -ENOMEM; - } glue->dev = &pdev->dev; glue->wrp = wrp;