From d6a82ff9c160acbb7db5bee2cde45818d1e8548e Mon Sep 17 00:00:00 2001 From: Leif Delgass Date: Thu, 24 Apr 2003 16:55:22 +0000 Subject: Remove unused dev->map_count. We always iterate the maplist with list_for_each() and the count is not updated or used for stats. --- linux-core/drm_drv.c | 1 - 1 file changed, 1 deletion(-) (limited to 'linux-core/drm_drv.c') diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c index 88d27e15..4a15faec 100644 --- a/linux-core/drm_drv.c +++ b/linux-core/drm_drv.c @@ -316,7 +316,6 @@ static int DRM(setup)( drm_device_t *dev ) if(dev->maplist == NULL) return -ENOMEM; memset(dev->maplist, 0, sizeof(*dev->maplist)); INIT_LIST_HEAD(&dev->maplist->head); - dev->map_count = 0; dev->vmalist = NULL; dev->sigdata.lock = dev->lock.hw_lock = NULL; -- cgit v1.2.3