fixup issue caused by fntbl-2 merge
authorDave Airlie <airlied@linux.ie>
Sun, 29 Aug 2004 10:09:23 +0000 (10:09 +0000)
committerDave Airlie <airlied@linux.ie>
Sun, 29 Aug 2004 10:09:23 +0000 (10:09 +0000)
linux-core/drm_irq.c
linux/drm_irq.h

index 6065b96..d9eb9f1 100644 (file)
@@ -202,10 +202,6 @@ int DRM(control)( struct inode *inode, struct file *filp,
        drm_device_t *dev = priv->dev;
        drm_control_t ctl;
        
-       /* if we haven't dma then no need for this control */
-       if (!(dev->driver_features & DRIVER_HAVE_DMA))
-               return -EINVAL;
-
        /* if we haven't irq we fallback for compatibility reasons - this used to be a separate function in drm_dma.h */
 
        if ( copy_from_user( &ctl, (drm_control_t __user *)arg, sizeof(ctl) ) )
index 6065b96..d9eb9f1 100644 (file)
@@ -202,10 +202,6 @@ int DRM(control)( struct inode *inode, struct file *filp,
        drm_device_t *dev = priv->dev;
        drm_control_t ctl;
        
-       /* if we haven't dma then no need for this control */
-       if (!(dev->driver_features & DRIVER_HAVE_DMA))
-               return -EINVAL;
-
        /* if we haven't irq we fallback for compatibility reasons - this used to be a separate function in drm_dma.h */
 
        if ( copy_from_user( &ctl, (drm_control_t __user *)arg, sizeof(ctl) ) )