From patchwork Fri May 7 08:24:19 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Povey X-Patchwork-Id: 97619 Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o478QVAC001602 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 7 May 2010 08:27:07 GMT Received: from dlep34.itg.ti.com ([157.170.170.115]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id o478Ow8I013968 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 May 2010 03:24:58 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep34.itg.ti.com (8.13.7/8.13.7) with ESMTP id o478OvDT021927; Fri, 7 May 2010 03:24:57 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id BF2D980627; Fri, 7 May 2010 03:24:56 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id 7D68980626 for ; Fri, 7 May 2010 03:24:54 -0500 (CDT) Received: from white.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id o478OsiR026335 for ; Fri, 7 May 2010 03:24:54 -0500 (CDT) Received: from psmtp.com (na3sys009amx178.postini.com [74.125.149.159]) by white.ext.ti.com (8.13.7/8.13.7) with SMTP id o478OrJc021955 for ; Fri, 7 May 2010 03:24:53 -0500 Received: from source ([212.74.114.16]) by na3sys009amx178.postini.com ([74.125.148.10]) with SMTP; Fri, 07 May 2010 08:24:53 GMT X-Trace: 205689273/mk-outboundfilter-6.mail.uk.tiscali.com/F2S/$F2S-NILDRAM-ACCEPTED/f2s-nildram-customers/82.133.54.170/None/Jon.Povey@racelogic.co.uk X-SBRS: None X-RemoteIP: 82.133.54.170 X-IP-MAIL-FROM: Jon.Povey@racelogic.co.uk X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEALNr40tShTaq/2dsb2JhbACeDnG7EoUVBA X-IronPort-AV: E=Sophos;i="4.52,347,1270422000"; d="scan'208";a="205689273" X-IP-Direction: IN Received: from unknown (HELO Cloud.RL.local) ([82.133.54.170]) by smtp.f2s.tiscali.co.uk with ESMTP; 07 May 2010 09:24:39 +0100 Received: from Cloud.RL.local ([192.168.1.1]) by Cloud.RL.local ([192.168.1.1]) with mapi; Fri, 7 May 2010 09:23:07 +0100 From: Jon Povey To: davinci-linux-open-source Content-Class: urn:content-classes:message Date: Fri, 7 May 2010 09:24:19 +0100 Subject: [PATCH] USB: musb: silence warning about unused flags Thread-Topic: [PATCH] USB: musb: silence warning about unused flags Thread-Index: AcrtvrA/43HJudzdRvCySbyuKeExNQ== Message-ID: <70E876B0EA86DD4BAF101844BC814DFE08DE6D1408@Cloud.RL.local> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB MIME-Version: 1.0 X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:65.95805/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-settings: 2 (0.5000:0.5000) s cv gt3 gt2 gt1 r p m c X-pstn-addresses: from [db-null] X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 07 May 2010 08:27:07 +0000 (UTC) diff --git a/drivers/usb/musb/cppi_dma.c b/drivers/usb/musb/cppi_dma.c index 59dc3d3..428ca1b 100644 --- a/drivers/usb/musb/cppi_dma.c +++ b/drivers/usb/musb/cppi_dma.c @@ -1155,7 +1155,7 @@ irqreturn_t cppi_interrupt(int irq, void *dev_id) struct musb_hw_ep *hw_ep = NULL; u32 rx, tx; int i, index; - unsigned long flags; + unsigned long flags = 0; cppi = container_of(musb->dma_controller, struct cppi, controller); if (cppi->irq)