From 728cc83004908194735dbe26a13c7eb1b3756f3e Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Fri, 1 Feb 2008 01:44:52 -0200 Subject: [PATCH] Remove declaration and call to non existing function vbeModeInit. This call was added in revision 1.2 of savage_vbe.c, accordingly to cvsweb.xfree86.org, and is probably from a very old version of the vbe module. Also, some code in savage_vbe probably could be rewritten to avoid duplicating code already in the vbe module, or some code added to the vbe module, as it seems to handle multiple displays and TV modes, but probably only work with savage bios. --- src/savage_vbe.c | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/src/savage_vbe.c b/src/savage_vbe.c index 5933b4e..afbaa8f 100644 --- a/src/savage_vbe.c +++ b/src/savage_vbe.c @@ -18,7 +18,6 @@ #endif #define L_ADD(x) (B_O32(x) & 0xffff) + ((B_O32(x) >> 12) & 0xffff00) -Bool vbeModeInit( vbeInfoPtr, int ); static int SavageGetDevice( SavagePtr psav ); /*static int SavageGetTVType( SavagePtr psav );*/ void SavageSetVESAModeCrtc1( SavagePtr psav, int n, int Refresh ); @@ -186,15 +185,6 @@ SavageSetVESAMode( SavagePtr psav, int n, int Refresh ) ErrorF("Set video mode failed\n"); } } -#ifdef XFree86LOADER - else - { - if( !vbeModeInit( psav->pVbe, n ) ) - { - ErrorF("Set video mode failed\n"); - } - } -#endif } void -- 1.5.3.2