Commit a3631e76 authored by Dave Airlie's avatar Dave Airlie Committed by David Airlie

Remove check that is needed only for 2.4 kernel fixes bug reports on lk.

Signed-off-by: default avatarColin Leroy <colin@colino.net>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 018fff9a
...@@ -109,8 +109,6 @@ int DRM(agp_acquire)(struct inode *inode, struct file *filp, ...@@ -109,8 +109,6 @@ int DRM(agp_acquire)(struct inode *inode, struct file *filp,
return -EBUSY; return -EBUSY;
if (!drm_agp->acquire) if (!drm_agp->acquire)
return -EINVAL; return -EINVAL;
if ( dev->agp->cant_use_aperture )
return -EINVAL;
if ((retcode = drm_agp->acquire())) if ((retcode = drm_agp->acquire()))
return retcode; return retcode;
dev->agp->acquired = 1; dev->agp->acquired = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment