[Mesa-dev] [PATCH 2/2] mesa/dri: drop unneeded mm.h include
Marek Olšák
maraeo at gmail.com
Wed Aug 2 10:57:50 UTC 2017
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Marek
On Wed, Aug 2, 2017 at 8:27 AM, Dave Airlie <airlied at gmail.com> wrote:
> 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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list