From patchwork Fri Oct 17 17:16:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 38978 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 70C73202DB for ; Fri, 17 Oct 2014 17:19:50 +0000 (UTC) Received: by mail-la0-f69.google.com with SMTP id q1sf724718lam.0 for ; Fri, 17 Oct 2014 10:19:49 -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=gRNafa06uiiYsdmBqbMVmQYQSmwbqsldrnDGsRDQv58=; b=deUYJEutYepJ2K9mr3/VXeEh6ev/ygMI+OfbrYt2ictFRlz6FvHKnf8xD1j+B6tort nsoXcOFOSBJB+kYkUt8BZ+F53wNKA+bkNo4ZckNgMe3XB2O61RhkTVvodfHz1Uf+SNcQ RfQKkc74AthHTsaDRCnsEyzUt4/ETaFFNDezvbL13I/RWMX1FT3C/kb6AXl62tJ0F9LO 6UnfUOhqhDytlFNyIeOVNbFFvExUfZypRS3+DeyrA7di9aAnYeUwwGw5/B8Ssu4/yGwr I9TLRk1ZusJIsUvKrZ3z+ZKrQykRWvLv2P4eLaEPogp/H+ePlwpTZfnq8DcYGz4eX4dh 7Phw== X-Gm-Message-State: ALoCoQmjSGYaJ2/hGYJWozqYEKtMWQ18sojkRQ4UlAA+fBjRdZgI6PeC5NKbQUHlx/9OtWLf4mlh X-Received: by 10.112.99.72 with SMTP id eo8mr1583781lbb.7.1413566389210; Fri, 17 Oct 2014 10:19:49 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.3.132 with SMTP id c4ls257126lac.88.gmail; Fri, 17 Oct 2014 10:19:49 -0700 (PDT) X-Received: by 10.112.173.69 with SMTP id bi5mr10181883lbc.61.1413566389105; Fri, 17 Oct 2014 10:19:49 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id at1si2968602lbc.102.2014.10.17.10.19.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:19:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by mail-lb0-f171.google.com with SMTP id z12so1047617lbi.2 for ; Fri, 17 Oct 2014 10:19:49 -0700 (PDT) X-Received: by 10.112.77.74 with SMTP id q10mr1971207lbw.66.1413566389033; Fri, 17 Oct 2014 10:19:49 -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 c5csp268376lbz; Fri, 17 Oct 2014 10:19:48 -0700 (PDT) X-Received: by 10.70.38.165 with SMTP id h5mr9566201pdk.121.1413566387226; Fri, 17 Oct 2014 10:19:47 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ap1si1616281pbc.152.2014.10.17.10.19.46 for ; Fri, 17 Oct 2014 10:19:47 -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 S1753851AbaJQRTo (ORCPT + 3 others); Fri, 17 Oct 2014 13:19:44 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:36388 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753578AbaJQRSE (ORCPT ); Fri, 17 Oct 2014 13:18:04 -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 s9HHHtUK029000; Fri, 17 Oct 2014 12:17:55 -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 s9HHHtTr000831; Fri, 17 Oct 2014 12:17:55 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Fri, 17 Oct 2014 12:17:55 -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 s9HHHsBM030195; Fri, 17 Oct 2014 12:17:55 -0500 From: Felipe Balbi To: Linux USB Mailing List CC: Greg KH , , Paul Zimmerman , , , , , , , Peter Chen , Felipe Balbi Subject: [PATCH 28/67] usb: musb: davinci: delete unnecessary 'out of memory' messages Date: Fri, 17 Oct 2014 12:16:35 -0500 Message-ID: <1413566234-13537-29-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.171 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/davinci.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/musb/davinci.c b/drivers/usb/musb/davinci.c index 110b784..04de3ac 100644 --- a/drivers/usb/musb/davinci.c +++ b/drivers/usb/musb/davinci.c @@ -520,10 +520,8 @@ static int davinci_probe(struct platform_device *pdev) int ret = -ENOMEM; glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); - if (!glue) { - dev_err(&pdev->dev, "failed to allocate glue context\n"); + if (!glue) goto err0; - } clk = devm_clk_get(&pdev->dev, "usb"); if (IS_ERR(clk)) {