diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-12-22 21:22:25 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-01-19 15:33:58 +0200 |
commit | e13a3183dae4f511821c4ad1e317a2b132051d4c (patch) | |
tree | 942dd89605b003527d0223ae74ce92b7cf5d84a0 /drivers/gpu | |
parent | 3019062905533ccd71b535f6e5c3ed7e9bb195e0 (diff) | |
download | op-kernel-dev-e13a3183dae4f511821c4ad1e317a2b132051d4c.zip op-kernel-dev-e13a3183dae4f511821c4ad1e317a2b132051d4c.tar.gz |
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: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171222192231.17981-3-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index cbec1d3..36960b7 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -12950,8 +12950,6 @@ static bool intel_primary_plane_format_mod_supported(struct drm_plane *plane, return i965_mod_supported(format, modifier); else return i8xx_mod_supported(format, modifier); - - unreachable(); } static bool intel_cursor_plane_format_mod_supported(struct drm_plane *plane, |