diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-29 03:06:21 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-02-29 05:18:29 -0500 |
commit | 884a53ef43eb69dfd48408659b9606e581aee7ba (patch) | |
tree | 7a881927509ba03381afa26e96496354d739438e /include/drm | |
parent | 54e88e065ef5e89de797de0c98e50f2ed1c174db (diff) |
drm: remove unused code
remove declared but unused functions from drmP.h, fix the comments
where necessary. Also, remove drm_mem_info which is unused.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drmP.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 92f0981b5fb8..cfd921ff0cc4 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -1264,11 +1264,6 @@ extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait); | |||
1264 | 1264 | ||
1265 | /* Memory management support (drm_memory.h) */ | 1265 | /* Memory management support (drm_memory.h) */ |
1266 | #include "drm_memory.h" | 1266 | #include "drm_memory.h" |
1267 | extern void drm_mem_init(void); | ||
1268 | extern int drm_mem_info(char *buf, char **start, off_t offset, | ||
1269 | int request, int *eof, void *data); | ||
1270 | extern void *drm_realloc(void *oldpt, size_t oldsize, size_t size, int area); | ||
1271 | |||
1272 | extern void drm_free_agp(DRM_AGP_MEM * handle, int pages); | 1267 | extern void drm_free_agp(DRM_AGP_MEM * handle, int pages); |
1273 | extern int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start); | 1268 | extern int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start); |
1274 | extern DRM_AGP_MEM *drm_agp_bind_pages(struct drm_device *dev, | 1269 | extern DRM_AGP_MEM *drm_agp_bind_pages(struct drm_device *dev, |
@@ -1383,12 +1378,8 @@ extern void drm_core_reclaim_buffers(struct drm_device *dev, | |||
1383 | /* IRQ support (drm_irq.h) */ | 1378 | /* IRQ support (drm_irq.h) */ |
1384 | extern int drm_control(struct drm_device *dev, void *data, | 1379 | extern int drm_control(struct drm_device *dev, void *data, |
1385 | struct drm_file *file_priv); | 1380 | struct drm_file *file_priv); |
1386 | extern irqreturn_t drm_irq_handler(DRM_IRQ_ARGS); | ||
1387 | extern int drm_irq_install(struct drm_device *dev); | 1381 | extern int drm_irq_install(struct drm_device *dev); |
1388 | extern int drm_irq_uninstall(struct drm_device *dev); | 1382 | extern int drm_irq_uninstall(struct drm_device *dev); |
1389 | extern void drm_driver_irq_preinstall(struct drm_device *dev); | ||
1390 | extern void drm_driver_irq_postinstall(struct drm_device *dev); | ||
1391 | extern void drm_driver_irq_uninstall(struct drm_device *dev); | ||
1392 | 1383 | ||
1393 | extern int drm_vblank_init(struct drm_device *dev, int num_crtcs); | 1384 | extern int drm_vblank_init(struct drm_device *dev, int num_crtcs); |
1394 | extern int drm_wait_vblank(struct drm_device *dev, void *data, | 1385 | extern int drm_wait_vblank(struct drm_device *dev, void *data, |