Message ID | 1413566234-13537-27-git-send-email-balbi@ti.com |
---|---|
State | Accepted |
Commit | 0590c4bf4bbbc608cf963dbf7d5aa4f202c8cf71 |
Headers | show
Return-Path: <patchwork-forward+bncBC5M7T4HYEKRBME7QWRAKGQEE5XHQWA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9F01A202DB for <linaro@patches.linaro.org>; Fri, 17 Oct 2014 17:19:45 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id a1sf722643wgh.1 for <linaro@patches.linaro.org>; Fri, 17 Oct 2014 10:19:44 -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=rT1vDdemlvdqTE8f9w1Y9uuBS3l2sgzF5TtW9lXHM38=; b=b0f3jGhnMICX806bAMLW4bayeBcOKpTomkA18QqEUKH5wsx5g4FeBtn+on+eiYxgK/ sVOnJCy48/QVvryN7dnrS8pub7SibOjoTM79o8diJ1i9VhO1GpThcgY3i7ar90mEVy2j VN4V5I4y4UAMJFQj+1ObQCJCiTJCC5gp2vq9sP+rrAM7oml1PBGJLRTa/0qiAmOpQfsZ nDc9pKN6lcBTNA7kNH6ovmUmex+29MW73tHDz4uD/AyknK+dOMP8LElpU2sZjuCIEHEo EpTbj0XLPDopKXzhEP1AtxHJhL7hsmgW9iBvK7ipTmmi8Fmcx+2Sli2UpQJJmaQ66vEM 08KQ== X-Gm-Message-State: ALoCoQmN8Vcl7Tx+O9WOucQXcaP8GZsKmT/Z7iqK9FtQckdOuuWODx47r4ClvwYHgaQCZM6olK51 X-Received: by 10.180.19.198 with SMTP id h6mr52656wie.5.1413566384801; Fri, 17 Oct 2014 10:19:44 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.4 with SMTP id r4ls288253lae.24.gmail; Fri, 17 Oct 2014 10:19:44 -0700 (PDT) X-Received: by 10.112.222.195 with SMTP id qo3mr10392995lbc.29.1413566384642; Fri, 17 Oct 2014 10:19:44 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id le2si3058634lab.2.2014.10.17.10.19.44 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Oct 2014 10:19:44 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by mail-la0-f54.google.com with SMTP id gm9so1086865lab.13 for <patchwork-forward@linaro.org>; Fri, 17 Oct 2014 10:19:44 -0700 (PDT) X-Received: by 10.112.189.10 with SMTP id ge10mr10139123lbc.23.1413566384558; Fri, 17 Oct 2014 10:19:44 -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 c5csp268363lbz; Fri, 17 Oct 2014 10:19:43 -0700 (PDT) X-Received: by 10.66.136.143 with SMTP id qa15mr5885070pab.90.1413566383056; Fri, 17 Oct 2014 10:19:43 -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.42 for <multiple recipients>; Fri, 17 Oct 2014 10:19:43 -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 S1753588AbaJQRSE (ORCPT <rfc822;amit.pundir@linaro.org> + 3 others); Fri, 17 Oct 2014 13:18:04 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:36378 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753568AbaJQRSB (ORCPT <rfc822; linux-usb@vger.kernel.org>); Fri, 17 Oct 2014 13:18:01 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s9HHHrT5028997; Fri, 17 Oct 2014 12:17:53 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s9HHHrhG029410; Fri, 17 Oct 2014 12:17:53 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Fri, 17 Oct 2014 12:17:53 -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 s9HHHquD003079; Fri, 17 Oct 2014 12:17:53 -0500 From: Felipe Balbi <balbi@ti.com> To: Linux USB Mailing List <linux-usb@vger.kernel.org> CC: Greg KH <gregkh@linuxfoundation.org>, <m.szyprowski@samsung.com>, Paul Zimmerman <paul.zimmerman@synopsys.com>, <daniel@zonque.org>, <leoli@freescale.com>, <andrzej.p@samsung.com>, <r.baldyga@samsung.com>, <mina86@mina86.com>, <Peter.Chen@freescale.com>, Peter Chen <peter.chen@freescale.com>, Felipe Balbi <balbi@ti.com> Subject: [PATCH 26/67] usb: gadget: bcm63xx_udc: delete unnecessary 'out of memory' messages Date: Fri, 17 Oct 2014 12:16:33 -0500 Message-ID: <1413566234-13537-27-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: <patchwork-forward.linaro.org> 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.54 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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> Content-Type: text/plain |
diff --git a/drivers/usb/gadget/udc/bcm63xx_udc.c b/drivers/usb/gadget/udc/bcm63xx_udc.c index 2235b88..485c8c2 100644 --- a/drivers/usb/gadget/udc/bcm63xx_udc.c +++ b/drivers/usb/gadget/udc/bcm63xx_udc.c @@ -2324,10 +2324,8 @@ static int bcm63xx_udc_probe(struct platform_device *pdev) int rc = -ENOMEM, i, irq; udc = devm_kzalloc(dev, sizeof(*udc), GFP_KERNEL); - if (!udc) { - dev_err(dev, "cannot allocate memory\n"); + if (!udc) return -ENOMEM; - } platform_set_drvdata(pdev, udc); udc->dev = dev;