diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-02-15 23:04:23 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-02-15 23:04:23 +0000 |
commit | 26e7c8c183cbace919938f347b53c2e70c5c3c12 (patch) | |
tree | 2f033b839e446965ba6921b19ef50abdc0c97c63 /sys | |
parent | a2d7bc97a056eecbd72a23f3b4715b22074f54eb (diff) |
dev_priv->irq_enabled is only set to zero and then ignored. kill it.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/radeon_drv.h | 1 | ||||
-rw-r--r-- | sys/dev/pci/drm/radeon_irq.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/radeon_drv.h b/sys/dev/pci/drm/radeon_drv.h index 1a18347f285..d5a7e9c1d86 100644 --- a/sys/dev/pci/drm/radeon_drv.h +++ b/sys/dev/pci/drm/radeon_drv.h @@ -291,7 +291,6 @@ typedef struct drm_radeon_private { atomic_t swi_emitted; int vblank_crtc; uint32_t irq_enable_reg; - int irq_enabled; uint32_t r500_disp_irq_reg; struct radeon_surface surfaces[RADEON_MAX_SURFACES]; diff --git a/sys/dev/pci/drm/radeon_irq.c b/sys/dev/pci/drm/radeon_irq.c index ac129f0bbf0..d2effe4e4f8 100644 --- a/sys/dev/pci/drm/radeon_irq.c +++ b/sys/dev/pci/drm/radeon_irq.c @@ -367,8 +367,6 @@ radeon_driver_irq_uninstall(struct drm_device * dev) if (!dev_priv) return; - dev_priv->irq_enabled = 0; - if ((dev_priv->flags & RADEON_FAMILY_MASK) >= CHIP_RS690) RADEON_WRITE(R500_DxMODE_INT_MASK, 0); /* Disable *all* interrupts */ |