Loading drivers/gpu/drm/drm_drawable.c +1 −2 Original line number Diff line number Diff line Loading @@ -173,11 +173,10 @@ int drm_update_drawable_info(struct drm_device *dev, void *data, struct drm_file /** * Caller must hold the drawable spinlock! */ struct drm_drawable_info *drm_get_drawable_info(struct drm_device *dev, drm_drawable_t id) static struct drm_drawable_info *drm_get_drawable_info(struct drm_device *dev, drm_drawable_t id) { return idr_find(&dev->drw_idr, id); } EXPORT_SYMBOL(drm_get_drawable_info); static int drm_drawable_free(int idr, void *p, void *data) { Loading include/drm/drmP.h +0 −2 Original line number Diff line number Diff line Loading @@ -1238,8 +1238,6 @@ extern int drm_rmdraw(struct drm_device *dev, void *data, struct drm_file *file_priv); extern int drm_update_drawable_info(struct drm_device *dev, void *data, struct drm_file *file_priv); extern struct drm_drawable_info *drm_get_drawable_info(struct drm_device *dev, drm_drawable_t id); extern void drm_drawable_free_all(struct drm_device *dev); /* Authentication IOCTL support (drm_auth.h) */ Loading Loading
drivers/gpu/drm/drm_drawable.c +1 −2 Original line number Diff line number Diff line Loading @@ -173,11 +173,10 @@ int drm_update_drawable_info(struct drm_device *dev, void *data, struct drm_file /** * Caller must hold the drawable spinlock! */ struct drm_drawable_info *drm_get_drawable_info(struct drm_device *dev, drm_drawable_t id) static struct drm_drawable_info *drm_get_drawable_info(struct drm_device *dev, drm_drawable_t id) { return idr_find(&dev->drw_idr, id); } EXPORT_SYMBOL(drm_get_drawable_info); static int drm_drawable_free(int idr, void *p, void *data) { Loading
include/drm/drmP.h +0 −2 Original line number Diff line number Diff line Loading @@ -1238,8 +1238,6 @@ extern int drm_rmdraw(struct drm_device *dev, void *data, struct drm_file *file_priv); extern int drm_update_drawable_info(struct drm_device *dev, void *data, struct drm_file *file_priv); extern struct drm_drawable_info *drm_get_drawable_info(struct drm_device *dev, drm_drawable_t id); extern void drm_drawable_free_all(struct drm_device *dev); /* Authentication IOCTL support (drm_auth.h) */ Loading