Another dead struct member.
authoroga <oga@openbsd.org>
Mon, 18 Aug 2008 00:01:49 +0000 (00:01 +0000)
committeroga <oga@openbsd.org>
Mon, 18 Aug 2008 00:01:49 +0000 (00:01 +0000)
sys/dev/pci/drm/drmP.h
sys/dev/pci/drm/drm_bufs.c

index 00d29a5..65e9320 100644 (file)
@@ -327,7 +327,6 @@ typedef struct drm_buf {
        unsigned long     offset;      /* Byte offset (used internally)      */
        void              *address;    /* Address of buffer                  */
        unsigned long     bus_address; /* Bus address of buffer              */
-       struct drm_buf    *next;       /* Kernel-only: used for free list    */
        __volatile__ int  pending;     /* On hardware DMA queue              */
        struct drm_file   *file_priv;  /* Unique identifier of holding process */
        int               context;     /* Kernel queue for this buffer       */
index 0544158..eb3909d 100644 (file)
@@ -512,7 +512,6 @@ drm_do_addbufs_agp(struct drm_device *dev, drm_buf_desc_t *request)
                buf->offset = (dma->byte_count + offset);
                buf->bus_address = agp_offset + offset;
                buf->address = (void *)(agp_offset + offset);
-               buf->next = NULL;
                buf->pending = 0;
                buf->file_priv = NULL;
 
@@ -660,7 +659,6 @@ drm_do_addbufs_pci(struct drm_device *dev, drm_buf_desc_t *request)
                        buf->offset = (dma->byte_count + byte_count + offset);
                        buf->address = ((char *)dmah->vaddr + offset);
                        buf->bus_address = dmah->busaddr + offset;
-                       buf->next = NULL;
                        buf->pending = 0;
                        buf->file_priv = NULL;
 
@@ -780,7 +778,6 @@ drm_do_addbufs_sg(struct drm_device *dev, drm_buf_desc_t *request)
                buf->offset = (dma->byte_count + offset);
                buf->bus_address = agp_offset + offset;
                buf->address = (void *)(agp_offset + offset + dev->sg->handle);
-               buf->next = NULL;
                buf->pending = 0;
                buf->file_priv = NULL;