summaryrefslogtreecommitdiff
path: root/linux-core/drm_agpsupport.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-12-19 20:29:03 +1100
committerDave Airlie <airlied@linux.ie>2006-12-19 20:29:03 +1100
commit86ff2aeb9bfea357d5748b3587ab224e813b37b6 (patch)
tree7cc4afd1293c491e3074f6c1af339773136f6156 /linux-core/drm_agpsupport.c
parent656c3a3737180d507bec352d56fbd9ef8b8a4feb (diff)
drm: remove all 2.4 support for drm development tree.
Bye bye 2.4 you served us well..
Diffstat (limited to 'linux-core/drm_agpsupport.c')
-rw-r--r--linux-core/drm_agpsupport.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/linux-core/drm_agpsupport.c b/linux-core/drm_agpsupport.c
index a5f1f9ee..79d9a835 100644
--- a/linux-core/drm_agpsupport.c
+++ b/linux-core/drm_agpsupport.c
@@ -106,10 +106,6 @@ int drm_agp_acquire(drm_device_t * dev)
return -ENODEV;
if (dev->agp->acquired)
return -EBUSY;
-#ifndef VMAP_4_ARGS
- if (dev->agp->cant_use_aperture)
- return -EINVAL;
-#endif
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,11)
if ((retcode = agp_backend_acquire()))
return retcode;