arch/powerpc/cpu/mpc5xxx/usb_ohci.c: fix GCC 4.6 build warnings
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>
This commit is contained in:
parent
65766f3852
commit
a442173048
@ -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)
|
static void dl_transfer_length(td_t * td)
|
||||||
{
|
{
|
||||||
__u32 tdINFO, tdBE, tdCBP;
|
__u32 tdBE, tdCBP;
|
||||||
urb_priv_t *lurb_priv = &urb_priv;
|
urb_priv_t *lurb_priv = &urb_priv;
|
||||||
|
|
||||||
tdINFO = ohci_cpu_to_le32 (td->hwINFO);
|
|
||||||
tdBE = ohci_cpu_to_le32 (td->hwBE);
|
tdBE = ohci_cpu_to_le32 (td->hwBE);
|
||||||
tdCBP = ohci_cpu_to_le32 (td->hwCBP);
|
tdCBP = ohci_cpu_to_le32 (td->hwCBP);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user