diff options
author | Dave Airlie <airlied@linux.ie> | 2004-08-29 10:09:23 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2004-08-29 10:09:23 +0000 |
commit | 6916572c1c32cd030258ab917f0a568517d5006b (patch) | |
tree | 0c8f135b248e176acce76cb21f9fd24ad14f5357 | |
parent | 4a89c75456b1d7d0dd20bae0e0f5dd47bdc5417e (diff) |
fixup issue caused by fntbl-2 merge
-rw-r--r-- | linux-core/drm_irq.c | 4 | ||||
-rw-r--r-- | linux/drm_irq.h | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/linux-core/drm_irq.c b/linux-core/drm_irq.c index 6065b967..d9eb9f1d 100644 --- a/linux-core/drm_irq.c +++ b/linux-core/drm_irq.c @@ -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) ) ) diff --git a/linux/drm_irq.h b/linux/drm_irq.h index 6065b967..d9eb9f1d 100644 --- a/linux/drm_irq.h +++ b/linux/drm_irq.h @@ -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) ) ) |