From patchwork Fri May 7 09:09:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Povey X-Patchwork-Id: 97656 Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o479B44R010357 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 7 May 2010 09:11:40 GMT Received: from dlep35.itg.ti.com ([157.170.170.118]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o4799OfO008150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 May 2010 04:09:24 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep35.itg.ti.com (8.13.7/8.13.7) with ESMTP id o4799NJt021395; Fri, 7 May 2010 04:09:23 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 7788480627; Fri, 7 May 2010 04:09:23 -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 E015580626 for ; Fri, 7 May 2010 04:09:22 -0500 (CDT) Received: from red.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id o4799MIU006339 for ; Fri, 7 May 2010 04:09:22 -0500 (CDT) Received: from psmtp.com (na3sys009amx248.postini.com [74.125.149.132]) by red.ext.ti.com (8.13.7/8.13.7) with SMTP id o4799Lqj014103 for ; Fri, 7 May 2010 04:09:22 -0500 Received: from source ([212.74.114.23]) by na3sys009amx248.postini.com ([74.125.148.10]) with SMTP; Fri, 07 May 2010 02:09:22 PDT X-Trace: 352044737/mk-outboundfilter-1.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: AvsEABN140tShTaq/2dsb2JhbACeDnG7P4UVBA X-IronPort-AV: E=Sophos;i="4.52,347,1270422000"; d="scan'208";a="352044737" 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 10:09:20 +0100 Received: from Cloud.RL.local ([192.168.1.1]) by Cloud.RL.local ([192.168.1.1]) with mapi; Fri, 7 May 2010 10:07:49 +0100 From: Jon Povey To: davinci-linux-open-source Content-Class: urn:content-classes:message Date: Fri, 7 May 2010 10:09:08 +0100 Subject: [PATCH v2] USB: musb: suppress warning about unused flags Thread-Topic: [PATCH v2] USB: musb: suppress warning about unused flags Thread-Index: AcrtxPNQtqFo9nVVSr6A+xTZBLTv1Q== Message-ID: <70E876B0EA86DD4BAF101844BC814DFE08DE6D1432@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:75.12911/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 09:11:41 +0000 (UTC) diff --git a/drivers/usb/musb/cppi_dma.c b/drivers/usb/musb/cppi_dma.c index 59dc3d3..e3753ba 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 uninitialized_var(flags); cppi = container_of(musb->dma_controller, struct cppi, controller); if (cppi->irq)