From: Wolfgang Denk Date: Thu, 6 Oct 2011 07:22:52 +0000 (+0200) Subject: arm920t/s3c24x0/usb_ohci.c: fix warning: variable ... set but not used X-Git-Tag: v2011.12-rc1~553 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0841ca90f22d73b0ea4642ef1ce33d879bb2f3ff;p=u-boot arm920t/s3c24x0/usb_ohci.c: fix warning: variable ... set but not used Fix: usb_ohci.c: In function 'dl_transfer_length': usb_ohci.c:768:8: warning: variable 'tdINFO' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk Cc: Remy Bohmer --- diff --git a/arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c b/arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c index ccc97384f3..9a0bbaeb4c 100644 --- a/arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c +++ b/arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c @@ -765,10 +765,9 @@ static void td_submit_job(struct usb_device *dev, unsigned long pipe, static void dl_transfer_length(struct td *td) { - __u32 tdINFO, tdBE, tdCBP; + __u32 tdBE, tdCBP; struct urb_priv *lurb_priv = &urb_priv; - tdINFO = m32_swap(td->hwINFO); tdBE = m32_swap(td->hwBE); tdCBP = m32_swap(td->hwCBP);