diff --git a/src/vstruct.h b/src/vstruct.h index 7c407c1..834bc4d 100644 --- a/src/vstruct.h +++ b/src/vstruct.h @@ -110,9 +110,6 @@ typedef struct _XGI_Private XGI_VBVCLKDataStruct *XGI_VBVCLKData; const XGI_StResInfoStruct *XGI_StResInfo; const XGI_ModeResInfoStruct *XGI_ModeResInfo; - - /* FIXME: This field is set but never used. */ - int LVDSHL; } XGI_Private; #endif diff --git a/src/xgi_driver.c b/src/xgi_driver.c index 1900a02..9d96067 100644 --- a/src/xgi_driver.c +++ b/src/xgi_driver.c @@ -2562,7 +2562,6 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags) pXGIEnt->XGI_Pr = pXGI->XGI_Pr; #endif memset(pXGI->XGI_Pr, 0, sizeof(XGI_Private)); - pXGI->XGI_Pr->LVDSHL = -1; } /* Get our relocated IO registers */ diff --git a/src/xgi_opt.c b/src/xgi_opt.c index e6722e5..c5b6170 100644 --- a/src/xgi_opt.c +++ b/src/xgi_opt.c @@ -79,7 +79,6 @@ typedef enum { OPTION_SCALELCD, OPTION_CENTERLCD, OPTION_SPECIALTIMING, - OPTION_LVDSHL, OPTION_ENABLEHOTKEY, OPTION_MERGEDFB, OPTION_MERGEDFBAUTO, @@ -120,7 +119,6 @@ static const OptionInfoRec XGIOptions[] = { { OPTION_ROTATE, "Rotate", OPTV_STRING, {0}, FALSE }, { OPTION_NOXVIDEO, "NoXvideo", OPTV_BOOLEAN, {0}, FALSE }, { OPTION_MAXXFBMEM, "MaxXFBMem", OPTV_INTEGER, {0}, -1 }, - { OPTION_LVDSHL, "LVDSHL", OPTV_INTEGER, {0}, -1 }, { OPTION_SPECIALTIMING, "SpecialTiming", OPTV_STRING, {0}, -1 }, { OPTION_USEROMDATA, "UseROMData", OPTV_BOOLEAN, {0}, -1 }, { OPTION_NOINTERNALMODES, "NoInternalModes", OPTV_BOOLEAN, {0}, FALSE }, @@ -358,9 +356,6 @@ xgiOptions(ScrnInfoPtr pScrn) if(xf86GetOptValString(pXGI->Options, OPTION_SPECIALTIMING)) { xf86DrvMsg(pScrn->scrnIndex, X_WARNING, mystring, "SpecialTiming"); } - if(xf86GetOptValString(pXGI->Options, OPTION_LVDSHL)) { - xf86DrvMsg(pScrn->scrnIndex, X_WARNING, mystring, "LVDSHL"); - } if(xf86GetOptValBool(pXGI->Options, OPTION_CRT2GAMMA, &val)) { xf86DrvMsg(pScrn->scrnIndex, X_WARNING, mystring, "CRT2Gamma"); }