| Submitter | Stefan Roese |
|---|---|
| Date | Nov. 15, 2011, 6:01 p.m. |
| Message ID | <1321380105-6159-1-git-send-email-sr@denx.de> |
| Download | mbox | patch |
| Permalink | /patch/125834/ |
| State | Accepted |
| Commit | af0af524ed80f5a5d048e2b283cff325c0dbe9c2 |
| Headers | show |
Comments
Dear Stefan Roese, In message <1321380105-6159-1-git-send-email-sr@denx.de> you wrote: > 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> > --- > arch/powerpc/cpu/ppc4xx/usb_ohci.c | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) Applied, thanks. Best regards, Wolfgang Denk
Patch
diff --git a/arch/powerpc/cpu/ppc4xx/usb_ohci.c b/arch/powerpc/cpu/ppc4xx/usb_ohci.c index fe091e3..065730d 100644 --- a/arch/powerpc/cpu/ppc4xx/usb_ohci.c +++ b/arch/powerpc/cpu/ppc4xx/usb_ohci.c @@ -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);
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> --- arch/powerpc/cpu/ppc4xx/usb_ohci.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)