[Mesa-dev] [PATCH 02/11] i915; remove unused driFd variable
Matt Turner
mattst88 at gmail.com
Wed Jul 8 10:08:25 PDT 2015
On Wed, Jul 8, 2015 at 10:07 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
> src/mesa/drivers/dri/i915/intel_context.c | 1 -
> src/mesa/drivers/dri/i915/intel_context.h | 2 --
> 2 files changed, 3 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c
> index 5618dcd..c780103 100644
> --- a/src/mesa/drivers/dri/i915/intel_context.c
> +++ b/src/mesa/drivers/dri/i915/intel_context.c
> @@ -428,7 +428,6 @@ intelInitContext(struct intel_context *intel,
>
> driContextPriv->driverPrivate = intel;
> intel->driContext = driContextPriv;
> - intel->driFd = sPriv->fd;
>
> intel->gen = intelScreen->gen;
>
> diff --git a/src/mesa/drivers/dri/i915/intel_context.h b/src/mesa/drivers/dri/i915/intel_context.h
> index 350d35d..4ec4015 100644
> --- a/src/mesa/drivers/dri/i915/intel_context.h
> +++ b/src/mesa/drivers/dri/i915/intel_context.h
> @@ -273,8 +273,6 @@ struct intel_context
>
> bool use_early_z;
>
> - int driFd;
> -
> __DRIcontext *driContext;
> struct intel_screen *intelScreen;
>
> --
s/;/:/ in the subject.
Wow, that's some DRI1 stuff!
Reviewed-by: Matt Turner <mattst88 at gmail.com>
More information about the mesa-dev
mailing list