Commit e13a3183 authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Nuke a pointless unreachable()

The unreachable() is very much unreachable and the compiler knows
that, so there's no point in having it.

Cc: Ben Widawsky <ben@bwidawsk.net>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Cc: Daniel Stone <daniels@collabora.com>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171222192231.17981-3-ville.syrjala@linux.intel.comReviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 30190629
...@@ -12950,8 +12950,6 @@ static bool intel_primary_plane_format_mod_supported(struct drm_plane *plane, ...@@ -12950,8 +12950,6 @@ static bool intel_primary_plane_format_mod_supported(struct drm_plane *plane,
return i965_mod_supported(format, modifier); return i965_mod_supported(format, modifier);
else else
return i8xx_mod_supported(format, modifier); return i8xx_mod_supported(format, modifier);
unreachable();
} }
static bool intel_cursor_plane_format_mod_supported(struct drm_plane *plane, static bool intel_cursor_plane_format_mod_supported(struct drm_plane *plane,
......
Markdown is supported
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