From 8aa706cc566b1bdd1b34eda99aa39f03408ecc77 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sat, 2 Apr 2016 07:37:35 +0000 Subject: Update to xf86-video-ati 7.6.1. ok jsg@ --- driver/xf86-video-ati/src/radeon_probe.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'driver/xf86-video-ati/src/radeon_probe.c') diff --git a/driver/xf86-video-ati/src/radeon_probe.c b/driver/xf86-video-ati/src/radeon_probe.c index ad1e96ea9..65cf0c9fa 100644 --- a/driver/xf86-video-ati/src/radeon_probe.c +++ b/driver/xf86-video-ati/src/radeon_probe.c @@ -154,7 +154,6 @@ radeon_get_scrninfo(int entity_num, void *pci_dev) */ { DevUnion *pPriv; - RADEONEntPtr pRADEONEnt; xf86SetEntitySharable(entity_num); @@ -166,14 +165,8 @@ radeon_get_scrninfo(int entity_num, void *pci_dev) xf86SetEntityInstanceForScreen(pScrn, pEnt->index, xf86GetNumEntityInstances(pEnt->index) - 1); - if (!pPriv->ptr) { + if (!pPriv->ptr) pPriv->ptr = xnfcalloc(sizeof(RADEONEntRec), 1); - pRADEONEnt = pPriv->ptr; - pRADEONEnt->HasSecondary = FALSE; - } else { - pRADEONEnt = pPriv->ptr; - pRADEONEnt->HasSecondary = TRUE; - } } free(pEnt); @@ -271,10 +264,8 @@ radeon_platform_probe(DriverPtr pDriver, if (!pPriv->ptr) { pPriv->ptr = xnfcalloc(sizeof(RADEONEntRec), 1); pRADEONEnt = pPriv->ptr; - pRADEONEnt->HasSecondary = FALSE; } else { pRADEONEnt = pPriv->ptr; - pRADEONEnt->HasSecondary = TRUE; } pRADEONEnt->platform_dev = dev; } -- cgit v1.2.3