Skip to contentSkip to conversation

FPGA: drivers/fpga/ivm_core.c: GCC4.6 fix build warnings

PATCH New Stefano Babic 2 participants 2 messages Nov 6, 2011 – Nov 16, 2011 FPGA manager framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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'

---
 drivers/fpga/ivm_core.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/fpga/ivm_core.c +0 -2
index 2b5a485..b5a47d1 100755
@@ -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;
 
 		/*
Signature · 1 line
1.7.6.4
#1 lore raw

PATCH 1/1 FPGA: drivers/fpga/ivm_core.c: GCC4.6 fix build warnings

Dear Stefano Babic,

Quoted 9 lines · In message <[email protected]> you wrote:

Fix:
ivm_core.c: In function 'ispVMLCOUNT':
ivm_core.c:2105:16: warning: unused variable 'usByte'

---
 drivers/fpga/ivm_core.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Look! There! Evil!.. pure and simple, total  evil  from  the  Eighth
Dimension!"                                         - Buckaroo Banzai