summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-07-07 14:13:33 +0100
committerEmil Velikov <[email protected]>2015-07-13 20:14:53 +0100
commit82b9b2e523ad53f54d5620f47f7aea4f11397b81 (patch)
tree50f81043c6a547edd4ec563159991baeb0273f3d
parenta025e539e430b7bbfae9b786bd79d0d608f1acf8 (diff)
i915: remove unused driFd variable
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i915/intel_context.c1
-rw-r--r--src/mesa/drivers/dri/i915/intel_context.h2
2 files changed, 0 insertions, 3 deletions
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;