aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_irq.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-04-10 07:39:00 +0000
committerDave Airlie <airlied@linux.ie>2004-04-10 07:39:00 +0000
commit6aad146173e2442eb0dbb10d02ddcd8a62808937 (patch)
tree09c7908dc5625630129918b089eecd2653996c18 /linux-core/drm_irq.c
parentfd473357980b9ba40bef089aadb78136faaa2008 (diff)
remove unused code
Diffstat (limited to 'linux-core/drm_irq.c')
-rw-r--r--linux-core/drm_irq.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux-core/drm_irq.c b/linux-core/drm_irq.c
index 6966cdb7..f53f142a 100644
--- a/linux-core/drm_irq.c
+++ b/linux-core/drm_irq.c
@@ -122,12 +122,6 @@ int DRM(irq_install)( drm_device_t *dev )
DRM_DEBUG( "%s: irq=%d\n", __FUNCTION__, dev->irq );
-#if 0 /* this is already done in DRM(setup) - why do it here ?? */
- dev->context_flag = 0;
- dev->interrupt_flag = 0;
- dev->dma_flag = 0;
-#endif
-
#if __HAVE_DMA
dev->dma->next_buffer = NULL;
dev->dma->next_queue = NULL;