From: Marek Olšák Date: Thu, 4 Aug 2011 04:19:17 +0000 (+0200) Subject: winsys/radeon: remove the device file descriptor from the interface X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efbccfeca071b052bb8da0a7f0277000869b2ea1;p=mesa.git winsys/radeon: remove the device file descriptor from the interface r600g doesn't need it anymore. Reviewed-by: Alex Deucher --- 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;