aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/r600/xorg/xorg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/r600/xorg/xorg.c')
-rw-r--r--src/gallium/targets/r600/xorg/xorg.c3
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);
}