dlvision-10g.c: Fix GCC 4.6 build warnings
PATCH 13/19 dlvision-10g.c: Fix GCC 4.6 build warnings
Fix:dlvision-10g.c: In function 'print_fpga_info':
dlvision-10g.c:90:11: warning: variable 'feature_compression' set but not used [-Wunused-but-set-variable]
Signed-off-by Stefan Roese <[email protected]>
--- board/gdsys/405ep/dlvision-10g.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
board/gdsys/405ep/dlvision-10g.c +0 -2
@@ -87,7 +87,6 @@ static void print_fpga_info(unsigned dev)u16 fpga_features =in_le16 (&fpga->fpga_features);unsigned unit_type;unsigned hardware_version; -unsigned feature_compression;unsigned feature_rs232;unsigned feature_audio;unsigned feature_sysclock;
@@ -111,7 +110,6 @@ static void print_fpga_info(unsigned dev) unit_type = (versions >>4 ) &0x000f ; hardware_version = versions &0x000f ; - feature_compression = (fpga_features >>13 ) &0x0003 ; feature_rs232 = fpga_features & (1 <<11 ); feature_audio = (fpga_features >>9 ) &0x0003 ; feature_sysclock = (fpga_features >>7 ) &0x0003 ;
Signature · 1 line
1.7.7.3
Wolfgang Denk
AppliedPATCH 13/19 dlvision-10g.c: Fix GCC 4.6 build warnings
Dear Stefan Roese,
Quoted 8 lines · In message <[email protected]> you wrote:
Fix:
dlvision-10g.c: In function 'print_fpga_info':
dlvision-10g.c:90:11: warning: variable 'feature_compression' set but not used [-Wunused-but-set-variable]Signed-off-by Stefan Roese <[email protected]>--- board/gdsys/405ep/dlvision-10g.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 Keep your head and your heart going in the right direction and you will not have to worry about your feet.