summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/mga_irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/mga_irq.c')
-rw-r--r--sys/dev/pci/drm/mga_irq.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/pci/drm/mga_irq.c b/sys/dev/pci/drm/mga_irq.c
index 4783e65eb29..a4ed2b18546 100644
--- a/sys/dev/pci/drm/mga_irq.c
+++ b/sys/dev/pci/drm/mga_irq.c
@@ -154,11 +154,6 @@ void mga_driver_irq_preinstall(struct drm_device * dev)
int mga_driver_irq_postinstall(struct drm_device * dev)
{
drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private;
- int ret;
-
- ret = drm_vblank_init(dev, 1);
- if (ret)
- return ret;
/* Turn on soft trap interrupt. Vertical blank interrupts are enabled
* in mga_enable_vblank.