Skip to content
Commit 9757973f authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

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: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180621174658.18823-1-ville.syrjala@linux.intel.com
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent bb9e8755
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment