[Intel-gfx] [PATCH] drm/i915: Remove pointless if-else from sdvo code

Chris Wilson chris at chris-wilson.co.uk
Thu Jun 21 19:50:49 UTC 2018


Quoting Ville Syrjala (2018-06-21 18:46:58)
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> The return value is a bool so we can just return the result of
> the biwise AND. The compiler will take care of the rest.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list