[Mesa-dev] [PATCH 05/24] winsys/amdgpu: remove unused definitions

Marek Olšák maraeo at gmail.com
Mon Oct 24 22:33:05 UTC 2016


From: Marek Olšák <marek.olsak at amd.com>

---
 src/gallium/winsys/amdgpu/drm/amdgpu_surface.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c b/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c
index 95da4ac..94fe7d6 100644
--- a/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c
+++ b/src/gallium/winsys/amdgpu/drm/amdgpu_surface.c
@@ -24,28 +24,20 @@
  * next paragraph) shall be included in all copies or substantial portions
  * of the Software.
  */
 
 /* Contact:
  *     Marek Olšák <maraeo at gmail.com>
  */
 
 #include "amdgpu_winsys.h"
 
-#ifndef NO_ENTRIES
-#define NO_ENTRIES 32
-#endif
-
-#ifndef NO_MACRO_ENTRIES
-#define NO_MACRO_ENTRIES 16
-#endif
-
 #ifndef CIASICIDGFXENGINE_SOUTHERNISLAND
 #define CIASICIDGFXENGINE_SOUTHERNISLAND 0x0000000A
 #endif
 
 
 static int amdgpu_surface_sanity(const struct radeon_surf *surf)
 {
    unsigned type = RADEON_SURF_GET(surf->flags, TYPE);
 
    if (!(surf->flags & RADEON_SURF_HAS_TILE_MODE_INDEX))
-- 
2.7.4



More information about the mesa-dev mailing list