From 0841ca90f22d73b0ea4642ef1ce33d879bb2f3ff Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 6 Oct 2011 09:22:52 +0200 Subject: [PATCH] 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 --- arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.30.2