Fix:
usbdev.c: In function 'process_endpoints':
usbdev.c:29:12: warning: variable 'temp1' set but not used 
[-Wunused-but-set-variable]
usbdev.c:29:6: warning: variable 'temp' set but not used 
[-Wunused-but-set-variable]

Signed-off-by: Stefan Roese <s...@denx.de>
---
 arch/powerpc/cpu/ppc4xx/usbdev.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/powerpc/cpu/ppc4xx/usbdev.c b/arch/powerpc/cpu/ppc4xx/usbdev.c
index fe398af..fc7da89 100644
--- a/arch/powerpc/cpu/ppc4xx/usbdev.c
+++ b/arch/powerpc/cpu/ppc4xx/usbdev.c
@@ -26,7 +26,6 @@ void process_endpoints(unsigned short usb2d0_intrin)
        struct devrequest setup_packet;
        unsigned int *setup_packet_pt;
        unsigned char *packet_pt = NULL;
-       int temp, temp1;
 
        int i;
 
@@ -44,8 +43,6 @@ void process_endpoints(unsigned short usb2d0_intrin)
                /*copy packet */
                setup_packet_pt[0] = *(unsigned int *)USB2D0_FIFO_0;
                setup_packet_pt[1] = *(unsigned int *)USB2D0_FIFO_0;
-               temp = *(unsigned int *)USB2D0_FIFO_0;
-               temp1 = *(unsigned int *)USB2D0_FIFO_0;
 
                /*do some swapping */
                setup_packet.value = swap_16(setup_packet.value);
-- 
1.7.7.3

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to