summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-17 10:39:08 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-17 10:53:55 -0700
commit065ed43c44b50231fa2ac9d406727d5149cac27f (patch)
tree20b9b2b08bd51f0013c6e2d674d074c9290cecae
parentf9dcbd53e7c63918b4798d961b56d28e55c9787f (diff)
ast_mode: Eliminate unused DAC_TEXT & DAC_EGA arrays
At top level: ast_mode.c:389:23: warning: ‘DAC_EGA’ defined but not used [-Wunused-variable] static VBIOS_DAC_INFO DAC_EGA[] = { ^~~~~~~ ast_mode.c:370:23: warning: ‘DAC_TEXT’ defined but not used [-Wunused-variable] static VBIOS_DAC_INFO DAC_TEXT[] = { ^~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/ast_mode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast_mode.c b/src/ast_mode.c
index 358bf86..530afa8 100644
--- a/src/ast_mode.c
+++ b/src/ast_mode.c
@@ -367,6 +367,7 @@ static VBIOS_DCLK_INFO DCLKTable_AST2500A1 [] = {
{0x44, 0x20, 0x43}, /* 1A: VCLK118_25 */
};
+#if 0
static VBIOS_DAC_INFO DAC_TEXT[] = {
{ 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x2a }, { 0x00, 0x2a, 0x00 }, { 0x00, 0x2a, 0x2a },
{ 0x2a, 0x00, 0x00 }, { 0x2a, 0x00, 0x2a }, { 0x2a, 0x2a, 0x00 }, { 0x2a, 0x2a, 0x2a },
@@ -404,6 +405,7 @@ static VBIOS_DAC_INFO DAC_EGA[] = {
{ 0x15, 0x15, 0x15 }, { 0x15, 0x15, 0x3f }, { 0x15, 0x3f, 0x15 }, { 0x15, 0x3f, 0x3f },
{ 0x3f, 0x15, 0x15 }, { 0x3f, 0x15, 0x3f }, { 0x3f, 0x3f, 0x15 }, { 0x3f, 0x3f, 0x3f },
};
+#endif
static VBIOS_DAC_INFO DAC_VGA[] = {
{ 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x2a }, { 0x00, 0x2a, 0x00 }, { 0x00, 0x2a, 0x2a },