i915: remove unused driFd variable
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 7 Jul 2015 13:13:33 +0000 (14:13 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Jul 2015 19:14:53 +0000 (20:14 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i915/intel_context.c
src/mesa/drivers/dri/i915/intel_context.h

index 5618dcd8358d4b6911add10feb2203b66e6b6034..c780103228f5d3d8a31a593a480e1ea2c5aaa58c 100644 (file)
@@ -428,7 +428,6 @@ intelInitContext(struct intel_context *intel,
 
    driContextPriv->driverPrivate = intel;
    intel->driContext = driContextPriv;
-   intel->driFd = sPriv->fd;
 
    intel->gen = intelScreen->gen;
 
index 350d35d903322e1d779eec4af124c9ce60f34431..4ec4015d453976e3efa205921eb4ae680b4628bb 100644 (file)
@@ -273,8 +273,6 @@ struct intel_context
 
    bool use_early_z;
 
-   int driFd;
-
    __DRIcontext *driContext;
    struct intel_screen *intelScreen;