]> git.sur5r.net Git - u-boot/commitdiff
FPGA: drivers/fpga/ivm_core.c: GCC4.6 fix build warnings
authorStefano Babic <sbabic@denx.de>
Sun, 6 Nov 2011 00:42:39 +0000 (00:42 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 16 Nov 2011 19:49:40 +0000 (20:49 +0100)
Fix:
ivm_core.c: In function 'ispVMLCOUNT':
ivm_core.c:2105:16: warning: unused variable 'usByte'

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Wolfgang Denk <wd@denx.de>
drivers/fpga/ivm_core.c

index 2b5a485f23399dfbd9f5bbe0cf68c292744ec653..b5a47d1d7bb88d469165eebe4fff3bab05f6ab20 100755 (executable)
@@ -2102,7 +2102,6 @@ signed char ispVMLCOUNT(unsigned short a_usCountSize)
        unsigned char ucState             = 0;
        unsigned short usDelay            = 0;
        unsigned short usToggle           = 0;
-       unsigned char usByte              = 0;
 
        g_usIntelBufferSize = (unsigned short)ispVMDataSize();
 
@@ -2171,7 +2170,6 @@ signed char ispVMLCOUNT(unsigned short a_usCountSize)
                ucState            = 0;
                usDelay            = 0;
                usToggle           = 0;
-               usByte             = 0;
                usContinue                 = 1;
 
                /*