summaryrefslogtreecommitdiff
path: root/linux-core/drm_drv.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-10-23 18:12:34 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-10-23 18:12:34 +0000
commitb37efdadca5da66cfd442a88353fa92c9e7aec24 (patch)
tree3cdb6afa8d5e73703cd47b25a833d2f1aa524e8e /linux-core/drm_drv.c
parent43cbf43a5f9e54decbfd837d0b5984454f2d61bf (diff)
Round 2 of getting rid of inter_module_get()
Diffstat (limited to 'linux-core/drm_drv.c')
-rw-r--r--linux-core/drm_drv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c
index b59b5ca5..cf09528c 100644
--- a/linux-core/drm_drv.c
+++ b/linux-core/drm_drv.c
@@ -489,7 +489,6 @@ static int __init drm_core_init(void)
ret = -1;
goto err_p3;
}
- drm_agp = (drm_agp_t *) inter_module_get("drm_agp");
DRM_INFO("Initialized %s %d.%d.%d %s\n",
DRIVER_NAME,
@@ -506,9 +505,6 @@ err_p1:
static void __exit drm_core_exit(void)
{
- if (drm_agp)
- inter_module_put("drm_agp");
-
remove_proc_entry("dri", NULL);
drm_sysfs_destroy(drm_class);