summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/radeonsi
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/radeonsi')
-rw-r--r--src/gallium/targets/radeonsi/xorg/xorg.c3
1 files changed, 0 insertions, 3 deletions
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);
}