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/r600 | |
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/r600')
-rw-r--r-- | src/gallium/targets/r600/xorg/xorg.c | 3 |
1 files changed, 0 insertions, 3 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); } |