diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-08-18 00:01:50 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-08-18 00:01:50 +0000 |
commit | 502638cd46b51df8d29ceeb8d0e18f3f91776d64 (patch) | |
tree | 83b8937c6185073adc563efafcc514681505da85 /sys/dev/pci/drm | |
parent | bf44033784af7d5a0dab86f5687d451d6577a5f0 (diff) |
Another dead struct member.
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r-- | sys/dev/pci/drm/drmP.h | 1 | ||||
-rw-r--r-- | sys/dev/pci/drm/drm_bufs.c | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/drmP.h b/sys/dev/pci/drm/drmP.h index 00d29a580ff..65e9320f8cd 100644 --- a/sys/dev/pci/drm/drmP.h +++ b/sys/dev/pci/drm/drmP.h @@ -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 */ diff --git a/sys/dev/pci/drm/drm_bufs.c b/sys/dev/pci/drm/drm_bufs.c index 054415854d1..eb3909d9ee0 100644 --- a/sys/dev/pci/drm/drm_bufs.c +++ b/sys/dev/pci/drm/drm_bufs.c @@ -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; |