drm/i915: Remove pointless if-else from sdvo code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 21 Jun 2018 17:46:58 +0000 (20:46 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 5 Jul 2018 19:16:56 +0000 (22:16 +0300)
commit9757973f41b52cd8fa7850100b8b0ae85261bcc5
tree0989aabe5570ed785db07e3f48797d27243471f0
parentbb9e8755a4259a306cd1691b4e17c4c485d81c9e
drm/i915: Remove pointless if-else from sdvo code

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@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180621174658.18823-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_sdvo.c