summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/radeon_driver.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index b665033b..f56a2928 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -2181,11 +2181,6 @@ static Bool RADEONPreInitDRI(ScrnInfoPtr pScrn)
return FALSE;
}
- if (!(info->dri = xcalloc(1, sizeof(struct radeon_dri)))) {
- ErrorF("Unable to allocate dri rec!\n");
- return FALSE;
- }
-
info->dri->pLibDRMVersion = NULL;
info->dri->pKernelDRMVersion = NULL;