vInitChrontelReg: drop unused variable pEnhModePtr

ast_mode.c: In function 'vInitChrontelReg':
ast_mode.c:1287:28: warning: unused variable 'pEnhModePtr' [-Wunused-variable]
 1287 |     PVBIOS_ENHTABLE_STRUCT pEnhModePtr = pVGAModeInfo->pEnhTableEntry;
      |                            ^~~~~~~~~~~

Fixes: 9e8d848992
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>
This commit is contained in:
Alan Coopersmith
2025-07-27 12:09:28 -07:00
parent 68c9813e44
commit 80c298e310

View File

@@ -1284,8 +1284,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;