mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
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:
committed by
Joseph Crowell
parent
fb4912cd4a
commit
cac5561a21
@@ -259,8 +259,6 @@ static void AMDGPUFreeRec(ScrnInfoPtr pScrn)
|
||||
}
|
||||
|
||||
if (pAMDGPUEnt->fd > 0) {
|
||||
DevUnion *pPriv;
|
||||
AMDGPUEntPtr pAMDGPUEnt;
|
||||
pPriv = xf86GetEntityPrivate(pScrn->entityList[0],
|
||||
gAMDGPUEntityIndex);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user