[PATCH 07/15] drm: Drop drm_sysfs_class from drmP.h

Daniel Vetter daniel.vetter at ffwll.ch
Wed Sep 10 03:43:52 PDT 2014


No user at all.

My guess is that this is a leftover from ttm before it used
the more abstract helpers to register/unregister its sysfs
objects (see drm_sysfs.h). At least in the existing history
it was never used.

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 include/drm/drmP.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 3c5990b5da80..867300fe7f89 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1305,7 +1305,6 @@ extern int drm_pci_set_unique(struct drm_device *dev,
 			      struct drm_unique *u);
 
 			       /* sysfs support (drm_sysfs.c) */
-struct drm_sysfs_class;
 extern struct class *drm_sysfs_create(struct module *owner, char *name);
 extern void drm_sysfs_destroy(void);
 extern struct device *drm_sysfs_minor_alloc(struct drm_minor *minor);
-- 
1.9.3



More information about the dri-devel mailing list