mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-09 10:47:41 +01:00
usb_ohci.c: Fix GCC 4.6 build warnings
Fix: usb_ohci.c: In function 'dl_transfer_length': usb_ohci.c:756:8: warning: variable 'tdINFO' set but not used [-Wunused-but-set-variable] Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
d14a94bf68
commit
af0af524ed
1 changed files with 1 additions and 2 deletions
|
|
@ -753,10 +753,9 @@ static void td_submit_job (struct usb_device *dev, unsigned long pipe, void *buf
|
|||
|
||||
static void dl_transfer_length(td_t * td)
|
||||
{
|
||||
__u32 tdINFO, tdBE, 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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue