From patchwork Fri Oct 17 17:16:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 38976 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f71.google.com (mail-ee0-f71.google.com [74.125.83.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 26958202DB for ; Fri, 17 Oct 2014 17:19:47 +0000 (UTC) Received: by mail-ee0-f71.google.com with SMTP id d17sf804159eek.2 for ; Fri, 17 Oct 2014 10:19:46 -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=FErKzKoCpOAMuv2dWuLIIvLgDnFN3pXagM/i58zsJSQ=; b=mAx3Dbkg7naL6nifHIqlxzRPcW4zMIMJfLto3FVKRDK7eV7mXYjIKrlZ8dEBBiSYTm 8Qhn6TtwINBlncGx0pElpwlfCXFWC2ZiAcfKWkiztsb7kSXRTlQmS37y+8iEby5Q5EXp Po2sMXf15ICO8vxqliN3L4kLniMJm6qdNnEpKHcgHr+lOeLPE61qqGgqlCX35DbPf21K nUHLGrwypnpAb5Kj/w1A7vf5VcttPATJnIoEd0Die2EUwO99+sbjU2sIl+7Xz9MdooFP GRhTQDWtYih7MhQmobU7vn23eh7B/TdS1OQsaHNpD8G33pSOqILz7lIrCU1UWbhu+Nyh YB9w== X-Gm-Message-State: ALoCoQlz9g/kizGZ5olO6q/T6oNFA5IZlP6zTUhce6pbpss1LpMRJVD+ceE/451qTo9RHr36HWi2 X-Received: by 10.180.182.164 with SMTP id ef4mr61397wic.0.1413566386321; Fri, 17 Oct 2014 10:19:46 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.197.34 with SMTP id ir2ls293495lac.7.gmail; Fri, 17 Oct 2014 10:19:46 -0700 (PDT) X-Received: by 10.152.8.12 with SMTP id n12mr10148842laa.51.1413566386163; Fri, 17 Oct 2014 10:19:46 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id w4si2991423laj.78.2014.10.17.10.19.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:19:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by mail-lb0-f182.google.com with SMTP id z11so1018197lbi.41 for ; Fri, 17 Oct 2014 10:19:46 -0700 (PDT) X-Received: by 10.112.167.38 with SMTP id zl6mr10267916lbb.34.1413566386048; Fri, 17 Oct 2014 10:19:46 -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 c5csp268369lbz; Fri, 17 Oct 2014 10:19:45 -0700 (PDT) X-Received: by 10.70.88.97 with SMTP id bf1mr9620849pdb.117.1413566384493; Fri, 17 Oct 2014 10:19:44 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id je3si1677144pbd.84.2014.10.17.10.19.43 for ; Fri, 17 Oct 2014 10:19:44 -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 S1753847AbaJQRTk (ORCPT + 3 others); Fri, 17 Oct 2014 13:19:40 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:55796 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753579AbaJQRSE (ORCPT ); Fri, 17 Oct 2014 13:18:04 -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 s9HHHuuJ011721; Fri, 17 Oct 2014 12:17:56 -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 s9HHHuDt000834; Fri, 17 Oct 2014 12:17:56 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Fri, 17 Oct 2014 12:17:56 -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 s9HHHtmU030490; Fri, 17 Oct 2014 12:17:56 -0500 From: Felipe Balbi To: Linux USB Mailing List CC: Greg KH , , Paul Zimmerman , , , , , , , Peter Chen , Felipe Balbi Subject: [PATCH 29/67] usb: musb: ux500: delete unnecessary 'out of memory' messages Date: Fri, 17 Oct 2014 12:16:36 -0500 Message-ID: <1413566234-13537-30-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.182 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/ux500.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/musb/ux500.c b/drivers/usb/musb/ux500.c index dc666e9..d0180a7 100644 --- a/drivers/usb/musb/ux500.c +++ b/drivers/usb/musb/ux500.c @@ -247,10 +247,8 @@ static int ux500_probe(struct platform_device *pdev) } 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; - } musb = platform_device_alloc("musb-hdrc", PLATFORM_DEVID_AUTO); if (!musb) {