fix shadowed sfield declarations

those fields are already declared at the function scope and used there,
so there's no need to have the same one a second time at branch scope.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-08-04 12:48:11 +02:00
committed by Joseph Crowell
parent fb4912cd4a
commit cac5561a21

View File

@@ -259,8 +259,6 @@ static void AMDGPUFreeRec(ScrnInfoPtr pScrn)
}
if (pAMDGPUEnt->fd > 0) {
DevUnion *pPriv;
AMDGPUEntPtr pAMDGPUEnt;
pPriv = xf86GetEntityPrivate(pScrn->entityList[0],
gAMDGPUEntityIndex);