Commit 2c2722379ffbd7ed66c494c92b5c5f7a94248700

Authored by Stefan Roese
Committed by Wolfgang Denk
1 parent 6d68621cea

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 <sr@denx.de>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

board/gdsys/405ep/dlvision-10g.c
... ... @@ -87,7 +87,6 @@
87 87 u16 fpga_features = in_le16(&fpga->fpga_features);
88 88 unsigned unit_type;
89 89 unsigned hardware_version;
90   - unsigned feature_compression;
91 90 unsigned feature_rs232;
92 91 unsigned feature_audio;
93 92 unsigned feature_sysclock;
... ... @@ -111,7 +110,6 @@
111 110  
112 111 unit_type = (versions >> 4) & 0x000f;
113 112 hardware_version = versions & 0x000f;
114   - feature_compression = (fpga_features >> 13) & 0x0003;
115 113 feature_rs232 = fpga_features & (1<<11);
116 114 feature_audio = (fpga_features >> 9) & 0x0003;
117 115 feature_sysclock = (fpga_features >> 7) & 0x0003;