mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-05 11:12:42 +00:00
xfree86: drivers: ast: drop unused variables
Fix some warnings about unused variables. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
77a7bcfb38
commit
423b87e2aa
@@ -1035,8 +1035,8 @@ static BOOL bSetAST1180CRTCReg(ScrnInfoPtr pScrn, DisplayModePtr mode, PVBIOS_M
|
||||
ASTRecPtr pAST = ASTPTR(pScrn);
|
||||
|
||||
ULONG HTIndex, HRIndex, VTIndex, VRIndex;
|
||||
ULONG HT, HDE, HBS, HBE, HRS, HRE;
|
||||
ULONG VT, VDE, VBS, VBE, VRS, VRE;
|
||||
ULONG HT, HDE, HRS, HRE;
|
||||
ULONG VT, VDE, VRS, VRE;
|
||||
ULONG HT2, HDE2, HRS2, HRE2;
|
||||
ULONG VT2, VDE2, VRS2, VRE2;
|
||||
|
||||
@@ -1051,14 +1051,10 @@ static BOOL bSetAST1180CRTCReg(ScrnInfoPtr pScrn, DisplayModePtr mode, PVBIOS_M
|
||||
/* Get CRTC Info */
|
||||
HT = mode->CrtcHTotal;
|
||||
HDE= mode->CrtcHDisplay;
|
||||
HBS= mode->CrtcHBlankStart;
|
||||
HBE= mode->CrtcHBlankEnd;
|
||||
HRS= mode->CrtcHSyncStart;
|
||||
HRE= mode->CrtcHSyncEnd;
|
||||
VT = mode->CrtcVTotal;
|
||||
VDE= mode->CrtcVDisplay;
|
||||
VBS= mode->CrtcVBlankStart;
|
||||
VBE= mode->CrtcVBlankEnd;
|
||||
VRS= mode->CrtcVSyncStart;
|
||||
VRE= mode->CrtcVSyncEnd;
|
||||
|
||||
@@ -1282,8 +1278,6 @@ static UCHAR GetChrontelReg(ASTRecPtr pAST, UCHAR jChannel, UCHAR jIndex)
|
||||
|
||||
static void vInitChrontelReg(ScrnInfoPtr pScrn, DisplayModePtr mode, PVBIOS_MODE_INFO pVGAModeInfo)
|
||||
{
|
||||
|
||||
PVBIOS_ENHTABLE_STRUCT pEnhModePtr = pVGAModeInfo->pEnhTableEntry;
|
||||
ASTRecPtr pAST = ASTPTR(pScrn);
|
||||
ULONG ulDCLK = 65; /* todo */
|
||||
UCHAR jReg;
|
||||
|
||||
Reference in New Issue
Block a user