[Mesa-dev] [PATCH 02/11] i915; remove unused driFd variable
Emil Velikov
emil.l.velikov at gmail.com
Thu Jul 9 05:40:20 PDT 2015
On 8 July 2015 at 18:08, Matt Turner <mattst88 at gmail.com> wrote:
> 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!
>
I suspect there is more, so if anyone is interested ;-)
> Reviewed-by: Matt Turner <mattst88 at gmail.com>
Thanks
Emil
More information about the mesa-dev
mailing list