From: Emil Velikov Date: Tue, 7 Jul 2015 13:13:33 +0000 (+0100) Subject: i915: remove unused driFd variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82b9b2e523ad53f54d5620f47f7aea4f11397b81;p=mesa.git i915: remove unused driFd variable Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index 5618dcd8358..c780103228f 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 350d35d9033..4ec4015d453 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;