drm: Remove DRM_MINOR_CNT
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 8 Mar 2017 14:12:41 +0000 (15:12 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Mar 2017 15:18:02 +0000 (16:18 +0100)
This was originally added by David Herrmann for range checks, but
entirely unused. It confused me, so let's remove it.

Cc: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170308141257.12119-9-daniel.vetter@ffwll.ch
include/drm/drmP.h

index 826101785876412ed49c9595c62c0c04a2f8ba86..7bd6752683a4027b67295ec4b1e3f25f3ffcb029 100644 (file)
@@ -444,7 +444,6 @@ enum drm_minor_type {
        DRM_MINOR_PRIMARY,
        DRM_MINOR_CONTROL,
        DRM_MINOR_RENDER,
-       DRM_MINOR_CNT,
 };
 
 /**