[Intel-gfx] [PATCH 2/2] drm/i915: Shrink i915_gem_request_add_to_client

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Wed Mar 23 10:10:49 UTC 2016


On 22/03/16 17:59, Chris Wilson wrote:
> On Tue, Mar 22, 2016 at 05:16:53PM +0000, Tvrtko Ursulin wrote:
>> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>>
>> We do not need to check twice for the same conditions.
>>
>> Results in clearer code and smaller binary.
>
> The checks are entirely garbage.

On actually looking wider than the mechanical cleanup your are 
absolutely right. :)

Regards,

Tvrtko



More information about the Intel-gfx mailing list