From 065ed43c44b50231fa2ac9d406727d5149cac27f Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 17 Oct 2022 10:39:08 -0700 Subject: [PATCH] ast_mode: Eliminate unused DAC_TEXT & DAC_EGA arrays MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/ast_mode.c | 2 ++ 1 file changed, 2 insertions(+) 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 },