From 6aad146173e2442eb0dbb10d02ddcd8a62808937 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 10 Apr 2004 07:39:00 +0000 Subject: remove unused code --- linux-core/drm_irq.c | 6 ------ linux/drm_irq.h | 6 ------ 2 files changed, 12 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; diff --git a/linux/drm_irq.h b/linux/drm_irq.h index 6966cdb7..f53f142a 100644 --- a/linux/drm_irq.h +++ b/linux/drm_irq.h @@ -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; -- cgit v1.2.3