From patchwork Wed Oct 5 21:17:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfgang Denk X-Patchwork-Id: 117921 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 0B6AFB6F9D for ; Thu, 6 Oct 2011 08:18:32 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D26E9291E5; Wed, 5 Oct 2011 23:18:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id irlIVN1vyvMY; Wed, 5 Oct 2011 23:18:21 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 58AEB291E7; Wed, 5 Oct 2011 23:17:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8DAFD28EB2 for ; Wed, 5 Oct 2011 23:17:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iRNjUzTURSWx for ; Wed, 5 Oct 2011 23:17:41 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by theia.denx.de (Postfix) with ESMTP id 8BA3928EB9 for ; Wed, 5 Oct 2011 23:17:37 +0200 (CEST) Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 54582188A177; Wed, 5 Oct 2011 23:17:37 +0200 (CEST) X-Auth-Info: Ky3T8Yr0IUynpqdQRLfmsYGqUuq1U959ahzoH+0yz3g= Received: from diddl.denx.de (host-80-81-18-216.customer.m-online.net [80.81.18.216]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id 91A661C00208; Wed, 5 Oct 2011 23:17:37 +0200 (CEST) Received: from gemini.denx.de (unknown [10.0.0.2]) by diddl.denx.de (Postfix) with ESMTP id 1CE12C8C5C4C; Wed, 5 Oct 2011 23:17:37 +0200 (CEST) Received: by gemini.denx.de (Postfix, from userid 500) id 68A381408746; Wed, 5 Oct 2011 23:17:36 +0200 (CEST) From: Wolfgang Denk To: u-boot@lists.denx.de Date: Wed, 5 Oct 2011 23:17:32 +0200 Message-Id: <1317849453-8216-6-git-send-email-wd@denx.de> X-Mailer: git-send-email 1.7.6.2 In-Reply-To: <1317849453-8216-1-git-send-email-wd@denx.de> References: <1317849453-8216-1-git-send-email-wd@denx.de> Subject: [U-Boot] [PATCH 6/7] drivers/usb/host/ohci-hcd.c: fix warning: variable ... set but not used X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Fix: ohci-hcd.c: In function 'dl_transfer_length': ohci-hcd.c:968:8: warning: variable 'tdINFO' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk Cc: Remy Bohmer Acked-by: Remy Bohmer --- drivers/usb/host/ohci-hcd.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index bc8bb20..c20d706 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -965,10 +965,9 @@ static void td_submit_job(struct usb_device *dev, unsigned long pipe, static void dl_transfer_length(td_t *td) { - __u32 tdINFO, tdBE, tdCBP; + __u32 tdBE, tdCBP; urb_priv_t *lurb_priv = td->ed->purb; - tdINFO = m32_swap(td->hwINFO); tdBE = m32_swap(td->hwBE); tdCBP = m32_swap(td->hwCBP);