mirror of
https://github.com/X11Libre/xf86-video-ast.git
synced 2026-03-24 01:24:41 +00:00
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>
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user