From e5cad7fced023e9ad6395147d6fff7ba28f11d17 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 5 Nov 2003 00:49:35 +0000 Subject: Remove buf_alloc which is unused since the locking commit. --- bsd-core/drmP.h | 1 - bsd-core/drm_drv.c | 1 - bsd/drmP.h | 1 - bsd/drm_drv.h | 1 - 4 files changed, 4 deletions(-) diff --git a/bsd-core/drmP.h b/bsd-core/drmP.h index 2bbe2733..4b7d737b 100644 --- a/bsd-core/drmP.h +++ b/bsd-core/drmP.h @@ -332,7 +332,6 @@ struct drm_device { /* Usage Counters */ int open_count; /* Outstanding files open */ int buf_use; /* Buffers in use -- cannot alloc */ - int buf_alloc; /* Buffer allocation in progress */ /* Performance counters */ unsigned long counters; diff --git a/bsd-core/drm_drv.c b/bsd-core/drm_drv.c index 911e7f70..0cbc1083 100644 --- a/bsd-core/drm_drv.c +++ b/bsd-core/drm_drv.c @@ -422,7 +422,6 @@ static int DRM(setup)( drm_device_t *dev ) DRIVER_PRESETUP(); dev->buf_use = 0; - dev->buf_alloc = 0; #if __HAVE_DMA i = DRM(dma_setup)( dev ); diff --git a/bsd/drmP.h b/bsd/drmP.h index 2bbe2733..4b7d737b 100644 --- a/bsd/drmP.h +++ b/bsd/drmP.h @@ -332,7 +332,6 @@ struct drm_device { /* Usage Counters */ int open_count; /* Outstanding files open */ int buf_use; /* Buffers in use -- cannot alloc */ - int buf_alloc; /* Buffer allocation in progress */ /* Performance counters */ unsigned long counters; diff --git a/bsd/drm_drv.h b/bsd/drm_drv.h index 911e7f70..0cbc1083 100644 --- a/bsd/drm_drv.h +++ b/bsd/drm_drv.h @@ -422,7 +422,6 @@ static int DRM(setup)( drm_device_t *dev ) DRIVER_PRESETUP(); dev->buf_use = 0; - dev->buf_alloc = 0; #if __HAVE_DMA i = DRM(dma_setup)( dev ); -- cgit v1.2.3