From ec2f8b6104bbbbf7bf49f4bb2daea3fc5be64b81 Mon Sep 17 00:00:00 2001 From: oga Date: Mon, 18 Aug 2008 00:01:49 +0000 Subject: [PATCH] Another dead struct member. --- sys/dev/pci/drm/drmP.h | 1 - sys/dev/pci/drm/drm_bufs.c | 3 --- 2 files changed, 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; -- 2.20.1