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:
65766f3
)
arch/powerpc/cpu/mpc5xxx/usb_ohci.c: fix GCC 4.6 build warnings
author
Wolfgang Denk
<wd@denx.de>
Fri, 4 Nov 2011 15:55:10 +0000
(15:55 +0000)
committer
Wolfgang Denk
<wd@denx.de>
Mon, 7 Nov 2011 21:09:42 +0000
(22:09 +0100)
Fix:
usb_ohci.c: In function 'dl_transfer_length':
usb_ohci.c:751:8: warning: variable 'tdINFO' set but not used
[-Wunused-but-set-variable]
Signed-off-by: Wolfgang Denk <wd@denx.de>
arch/powerpc/cpu/mpc5xxx/usb_ohci.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc5xxx/usb_ohci.c
b/arch/powerpc/cpu/mpc5xxx/usb_ohci.c
index 2fc1180b78285a46c9c55c0dd37f709333af2eec..d250c199f83ef97137d200961626ee7f6df1e595 100644
(file)
--- a/
arch/powerpc/cpu/mpc5xxx/usb_ohci.c
+++ b/
arch/powerpc/cpu/mpc5xxx/usb_ohci.c
@@
-748,10
+748,9
@@
static void td_submit_job (struct usb_device *dev, unsigned long pipe, void *buf
static void dl_transfer_length(td_t * td)
{
- __u32 td
INFO, td
BE, tdCBP;
+ __u32 tdBE, tdCBP;
urb_priv_t *lurb_priv = &urb_priv;
- tdINFO = ohci_cpu_to_le32 (td->hwINFO);
tdBE = ohci_cpu_to_le32 (td->hwBE);
tdCBP = ohci_cpu_to_le32 (td->hwCBP);