summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/mga_irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/drm/mga_irq.c')
-rw-r--r--sys/dev/drm/mga_irq.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/drm/mga_irq.c b/sys/dev/drm/mga_irq.c
index 0d59993..005d43d 100644
--- a/sys/dev/drm/mga_irq.c
+++ b/sys/dev/drm/mga_irq.c
@@ -157,11 +157,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;
DRM_INIT_WAITQUEUE(&dev_priv->fence_queue);
OpenPOWER on IntegriCloud