drm/i915/uc: Drop use of MISSING_CASE on trivial enums
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 31 Mar 2017 10:26:52 +0000 (10:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 31 Mar 2017 20:08:06 +0000 (21:08 +0100)
commitb9ab1f3f4454163c7850bd6cbaefcafa6955e1c1
tree678e64265a616ec1006ee86c84a0b4879647fb09
parentd7c530b25946e323fc188cd06777ac94f2eddb95
drm/i915/uc: Drop use of MISSING_CASE on trivial enums

We can rely on compiler to notify us if we miss any case.
This approach may also reduce driver size (reported ~4K).

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170331102652.177664-1-michal.wajdeczko@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_uc.h