projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fad2e1b
)
arm920t/s3c24x0/usb_ohci.c: fix warning: variable ... set but not used
author
Wolfgang Denk
<wd@denx.de>
Thu, 6 Oct 2011 07:22:52 +0000
(09:22 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 9 Oct 2011 21:24:50 +0000
(23:24 +0200)
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 <wd@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c
b/arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c
index ccc97384f33dc5eea517e42cbca433c996d9cd2d..9a0bbaeb4c9c2334c0970add0236855464bea01c 100644
(file)
--- 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 td
INFO, td
BE, 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);