summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-11-05 00:49:35 +0000
committerEric Anholt <anholt@freebsd.org>2003-11-05 00:49:35 +0000
commite5cad7fced023e9ad6395147d6fff7ba28f11d17 (patch)
treebbe2d86d95af871fafb9cb548d7aac5a8256b20a
parent27f9c5f01659bb643db00ffb17c140ae3bd99df8 (diff)
Remove buf_alloc which is unused since the locking commit.
-rw-r--r--bsd-core/drmP.h1
-rw-r--r--bsd-core/drm_drv.c1
-rw-r--r--bsd/drmP.h1
-rw-r--r--bsd/drm_drv.h1
4 files changed, 0 insertions, 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 );