From efbccfeca071b052bb8da0a7f0277000869b2ea1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 4 Aug 2011 06:19:17 +0200 Subject: [PATCH] winsys/radeon: remove the device file descriptor from the interface r600g doesn't need it anymore. Reviewed-by: Alex Deucher --- src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 1 - src/gallium/winsys/radeon/drm/radeon_winsys.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index 1f3bd6dd7bd..e234321d934 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -316,7 +316,6 @@ struct radeon_winsys *radeon_drm_winsys_create(int fd) } ws->fd = fd; - ws->info.fd = fd; if (!do_winsys_init(ws)) goto fail; diff --git a/src/gallium/winsys/radeon/drm/radeon_winsys.h b/src/gallium/winsys/radeon/drm/radeon_winsys.h index 9f70c5c2f9f..bf5b144fe2c 100644 --- a/src/gallium/winsys/radeon/drm/radeon_winsys.h +++ b/src/gallium/winsys/radeon/drm/radeon_winsys.h @@ -73,7 +73,6 @@ struct radeon_info { uint32_t pci_id; uint32_t gart_size; uint32_t vram_size; - uint32_t fd; /* XXX transitional */ uint32_t drm_major; /* version */ uint32_t drm_minor; -- 2.30.2