[Mesa-dev] [PATCH 2/2] mesa/dri: drop unneeded mm.h include
Dave Airlie
airlied at gmail.com
Wed Aug 2 06:27:07 UTC 2017
From: Dave Airlie <airlied at redhat.com>
This isn't used in any of these drivers.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/mesa/drivers/dri/i915/i830_texblend.c | 1 -
src/mesa/drivers/dri/i915/intel_context.h | 1 -
src/mesa/drivers/dri/r200/r200_context.h | 1 -
src/mesa/drivers/dri/radeon/radeon_common_context.h | 1 -
4 files changed, 4 deletions(-)
diff --git a/src/mesa/drivers/dri/i915/i830_texblend.c b/src/mesa/drivers/dri/i915/i830_texblend.c
index c29b572..15d6d54 100644
--- a/src/mesa/drivers/dri/i915/i830_texblend.c
+++ b/src/mesa/drivers/dri/i915/i830_texblend.c
@@ -29,7 +29,6 @@
#include "main/macros.h"
#include "main/mtypes.h"
#include "main/enums.h"
-#include "main/mm.h"
#include "intel_screen.h"
#include "intel_tex.h"
diff --git a/src/mesa/drivers/dri/i915/intel_context.h b/src/mesa/drivers/dri/i915/intel_context.h
index d0f3d36..c59436a 100644
--- a/src/mesa/drivers/dri/i915/intel_context.h
+++ b/src/mesa/drivers/dri/i915/intel_context.h
@@ -32,7 +32,6 @@
#include <stdbool.h>
#include <string.h>
#include "main/mtypes.h"
-#include "main/mm.h"
#include <drm.h>
#include <intel_bufmgr.h>
diff --git a/src/mesa/drivers/dri/r200/r200_context.h b/src/mesa/drivers/dri/r200/r200_context.h
index 07eae23..550203d 100644
--- a/src/mesa/drivers/dri/r200/r200_context.h
+++ b/src/mesa/drivers/dri/r200/r200_context.h
@@ -56,7 +56,6 @@ struct r200_context;
typedef struct r200_context r200ContextRec;
typedef struct r200_context *r200ContextPtr;
-#include "main/mm.h"
struct r200_vertex_program {
struct gl_program mesa_program; /* Must be first */
diff --git a/src/mesa/drivers/dri/radeon/radeon_common_context.h b/src/mesa/drivers/dri/radeon/radeon_common_context.h
index e551570..328b545 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common_context.h
+++ b/src/mesa/drivers/dri/radeon/radeon_common_context.h
@@ -2,7 +2,6 @@
#ifndef COMMON_CONTEXT_H
#define COMMON_CONTEXT_H
-#include "main/mm.h"
#include "math/m_vector.h"
#include "tnl/t_context.h"
#include "main/colormac.h"
--
2.9.4
More information about the mesa-dev
mailing list