[igt-dev] [PATCH i-g-t 12/21] gem_wsim: Save some lines by changing to implicit NULL checking

Chris Wilson chris at chris-wilson.co.uk
Fri May 10 13:28:03 UTC 2019


Quoting Tvrtko Ursulin (2019-05-08 13:10:49)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> We can improve the parsing loop readability a bit more by avoiding some
> line breaks caused by explicit NULL checks.
> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the igt-dev mailing list