summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2000-07-10 21:32:06 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2000-07-10 21:32:06 +0000
commit8bc39d01cae622db6097b967c132f9b0e04fb785 (patch)
tree2f158b7091f45090302b5eb016a40810168871e1 /linux-core
parent62838b948cdddc0f007c200fbec195c1a008c731 (diff)
Import of XFree86 4.0.1
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/r128_drv.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/linux-core/r128_drv.c b/linux-core/r128_drv.c
index 4c065551..8b669888 100644
--- a/linux-core/r128_drv.c
+++ b/linux-core/r128_drv.c
@@ -369,13 +369,6 @@ int r128_init(void)
#ifdef DRM_AGP
dev->agp = drm_agp_init();
- if (dev->agp == NULL) {
- DRM_ERROR("Cannot initialize agpgart module.\n");
- drm_proc_cleanup();
- misc_deregister(&r128_misc);
- r128_takedown(dev);
- return -ENOMEM;
- }
#ifdef CONFIG_MTRR
dev->agp->agp_mtrr = mtrr_add(dev->agp->agp_info.aper_base,