Remove buf_alloc which is unused since the locking commit.
authorEric Anholt <anholt@freebsd.org>
Wed, 5 Nov 2003 00:49:35 +0000 (00:49 +0000)
committerEric Anholt <anholt@freebsd.org>
Wed, 5 Nov 2003 00:49:35 +0000 (00:49 +0000)
bsd-core/drmP.h
bsd-core/drm_drv.c
bsd/drmP.h
bsd/drm_drv.h

index 2bbe273..4b7d737 100644 (file)
@@ -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;
index 911e7f7..0cbc108 100644 (file)
@@ -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 );
index 2bbe273..4b7d737 100644 (file)
@@ -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;
index 911e7f7..0cbc108 100644 (file)
@@ -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 );