From: Daniel Vetter Date: Wed, 8 Mar 2017 14:12:41 +0000 (+0100) Subject: drm: Remove DRM_MINOR_CNT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=721dacbbeb062b99adea9ab6046b6ec04a8ec5fc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm: Remove DRM_MINOR_CNT This was originally added by David Herrmann for range checks, but entirely unused. It confused me, so let's remove it. Cc: David Herrmann Reviewed-by: David Herrmann Signed-off-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/20170308141257.12119-9-daniel.vetter@ffwll.ch --- diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 826101785876..7bd6752683a4 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -444,7 +444,6 @@ enum drm_minor_type { DRM_MINOR_PRIMARY, DRM_MINOR_CONTROL, DRM_MINOR_RENDER, - DRM_MINOR_CNT, }; /**