summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-07-07 14:13:33 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-07-13 20:14:53 +0100
commit82b9b2e523ad53f54d5620f47f7aea4f11397b81 (patch)
tree50f81043c6a547edd4ec563159991baeb0273f3d /src
parenta025e539e430b7bbfae9b786bd79d0d608f1acf8 (diff)
i915: remove unused driFd variable
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src')
-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 5618dcd835..c780103228 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 350d35d903..4ec4015d45 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;