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>
This commit is contained in:
parent
bb82de8840
commit
69de63e1f2
@ -2102,7 +2102,6 @@ signed char ispVMLCOUNT(unsigned short a_usCountSize)
|
|||||||
unsigned char ucState = 0;
|
unsigned char ucState = 0;
|
||||||
unsigned short usDelay = 0;
|
unsigned short usDelay = 0;
|
||||||
unsigned short usToggle = 0;
|
unsigned short usToggle = 0;
|
||||||
unsigned char usByte = 0;
|
|
||||||
|
|
||||||
g_usIntelBufferSize = (unsigned short)ispVMDataSize();
|
g_usIntelBufferSize = (unsigned short)ispVMDataSize();
|
||||||
|
|
||||||
@ -2171,7 +2170,6 @@ signed char ispVMLCOUNT(unsigned short a_usCountSize)
|
|||||||
ucState = 0;
|
ucState = 0;
|
||||||
usDelay = 0;
|
usDelay = 0;
|
||||||
usToggle = 0;
|
usToggle = 0;
|
||||||
usByte = 0;
|
|
||||||
usContinue = 1;
|
usContinue = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user