[Intel-gfx] [PATCH 08/24] drm: Remove DRM_MINOR_CNT

Daniel Vetter daniel.vetter at ffwll.ch
Wed Mar 8 14:12:41 UTC 2017


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 at gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
---
 include/drm/drmP.h | 1 -
 1 file changed, 1 deletion(-)

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,
 };
 
 /**
-- 
2.11.0



More information about the Intel-gfx mailing list