summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-11-06 00:42:39 +0000
committerWolfgang Denk <wd@denx.de>2011-11-16 20:49:40 +0100
commit69de63e1f23e1529bfe0c3f0327d9c9272f3b9a8 (patch)
treee8365051389a770d64279835560d33239ae6fae5
parentbb82de884005a869efeac4ae1b00891914d7c193 (diff)
downloadu-boot-imx-69de63e1f23e1529bfe0c3f0327d9c9272f3b9a8.zip
u-boot-imx-69de63e1f23e1529bfe0c3f0327d9c9272f3b9a8.tar.gz
u-boot-imx-69de63e1f23e1529bfe0c3f0327d9c9272f3b9a8.tar.bz2
FPGA: drivers/fpga/ivm_core.c: GCC4.6 fix build warnings
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>
-rwxr-xr-xdrivers/fpga/ivm_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/fpga/ivm_core.c b/drivers/fpga/ivm_core.c
index 2b5a485..b5a47d1 100755
--- a/drivers/fpga/ivm_core.c
+++ b/drivers/fpga/ivm_core.c
@@ -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;
/*