diff options
author | Emil Velikov <[email protected]> | 2013-09-28 15:08:24 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2013-10-29 21:04:38 +0000 |
commit | c9e6e6382f8c38b47691495e5a710935115b6702 (patch) | |
tree | 0814c1e50ba5dc098f4dd1529ff1f3e38c0e968e /src/gallium/targets | |
parent | ba3efd6b42e1b875fd029c6dd8ec93512a3fff2e (diff) |
gallium/targets/xorg: drop set but unused variable entity
The function xf86GetEntityInfo() retrieves the entity rather than
doing any changes. Remove this no-op code.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/r600/xorg/xorg.c | 3 | ||||
-rw-r--r-- | src/gallium/targets/radeonsi/xorg/xorg.c | 3 | ||||
-rw-r--r-- | src/gallium/targets/xorg-i915/intel_xorg.c | 3 | ||||
-rw-r--r-- | src/gallium/targets/xorg-nouveau/nouveau_xorg.c | 3 |
4 files changed, 0 insertions, 12 deletions
diff --git a/src/gallium/targets/r600/xorg/xorg.c b/src/gallium/targets/r600/xorg/xorg.c index 83610fd3fd2..b0b0ef0a2ef 100644 --- a/src/gallium/targets/r600/xorg/xorg.c +++ b/src/gallium/targets/r600/xorg/xorg.c @@ -129,7 +129,6 @@ r600_xorg_pci_probe(DriverPtr driver, int entity_num, struct pci_device *device, intptr_t match_data) { ScrnInfoPtr scrn = NULL; - EntityInfoPtr entity; scrn = xf86ConfigPciEntity(scrn, 0, entity_num, r600_xorg_pci_devices, NULL, NULL, NULL, NULL, NULL); @@ -139,8 +138,6 @@ r600_xorg_pci_probe(DriverPtr driver, scrn->name = "R600G"; scrn->Probe = NULL; - entity = xf86GetEntityInfo(entity_num); - /* Use all the functions from the xorg tracker */ xorg_tracker_set_functions(scrn); } diff --git a/src/gallium/targets/radeonsi/xorg/xorg.c b/src/gallium/targets/radeonsi/xorg/xorg.c index cce79263953..7858f03ef16 100644 --- a/src/gallium/targets/radeonsi/xorg/xorg.c +++ b/src/gallium/targets/radeonsi/xorg/xorg.c @@ -129,7 +129,6 @@ radeonsi_xorg_pci_probe(DriverPtr driver, int entity_num, struct pci_device *device, intptr_t match_data) { ScrnInfoPtr scrn = NULL; - EntityInfoPtr entity; scrn = xf86ConfigPciEntity(scrn, 0, entity_num, radeonsi_xorg_pci_devices, NULL, NULL, NULL, NULL, NULL); @@ -139,8 +138,6 @@ radeonsi_xorg_pci_probe(DriverPtr driver, scrn->name = "RADEONSI"; scrn->Probe = NULL; - entity = xf86GetEntityInfo(entity_num); - /* Use all the functions from the xorg tracker */ xorg_tracker_set_functions(scrn); } diff --git a/src/gallium/targets/xorg-i915/intel_xorg.c b/src/gallium/targets/xorg-i915/intel_xorg.c index 32d4a548bb4..d8eb258b374 100644 --- a/src/gallium/targets/xorg-i915/intel_xorg.c +++ b/src/gallium/targets/xorg-i915/intel_xorg.c @@ -128,7 +128,6 @@ intel_xorg_pci_probe(DriverPtr driver, int entity_num, struct pci_device *device, intptr_t match_data) { ScrnInfoPtr scrn = NULL; - EntityInfoPtr entity; scrn = xf86ConfigPciEntity(scrn, 0, entity_num, intel_xorg_pci_devices, NULL, NULL, NULL, NULL, NULL); @@ -138,8 +137,6 @@ intel_xorg_pci_probe(DriverPtr driver, scrn->name = "modesetting"; scrn->Probe = NULL; - entity = xf86GetEntityInfo(entity_num); - /* Use all the functions from the xorg tracker */ xorg_tracker_set_functions(scrn); } diff --git a/src/gallium/targets/xorg-nouveau/nouveau_xorg.c b/src/gallium/targets/xorg-nouveau/nouveau_xorg.c index 2324d24445a..454aea6d48b 100644 --- a/src/gallium/targets/xorg-nouveau/nouveau_xorg.c +++ b/src/gallium/targets/xorg-nouveau/nouveau_xorg.c @@ -125,7 +125,6 @@ nouveau_xorg_pci_probe(DriverPtr driver, int entity_num, struct pci_device *device, intptr_t match_data) { ScrnInfoPtr scrn = NULL; - EntityInfoPtr entity; struct nouveau_device *dev = NULL; char *busid; int chipset, ret; @@ -185,8 +184,6 @@ nouveau_xorg_pci_probe(DriverPtr driver, scrn->name = "nouveau2"; scrn->Probe = NULL; - entity = xf86GetEntityInfo(entity_num); - /* Use all the functions from the xorg tracker */ xorg_tracker_set_functions(scrn); } |