summaryrefslogtreecommitdiff
path: root/linux/drm_bufs.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-04-22 10:18:29 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-04-22 10:18:29 +0000
commit056762a9104997569b09416c35d9a0bfef175e1f (patch)
tree1f152e0cc367a5321f735ea974d1eae3e13e4781 /linux/drm_bufs.h
parent5141da97f680235d10d74737d5444963d2080072 (diff)
remove unused dma histogram code
Diffstat (limited to 'linux/drm_bufs.h')
-rw-r--r--linux/drm_bufs.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/linux/drm_bufs.h b/linux/drm_bufs.h
index b27987f1..97997dc1 100644
--- a/linux/drm_bufs.h
+++ b/linux/drm_bufs.h
@@ -416,12 +416,6 @@ int DRM(addbufs_agp)( struct inode *inode, struct file *filp,
}
memset( buf->dev_private, 0, buf->dev_priv_size );
-#if __HAVE_DMA_HISTOGRAM
- buf->time_queued = 0;
- buf->time_dispatched = 0;
- buf->time_completed = 0;
- buf->time_freed = 0;
-#endif
DRM_DEBUG( "buffer %d @ %p\n",
entry->buf_count, buf->address );
@@ -618,12 +612,6 @@ int DRM(addbufs_pci)( struct inode *inode, struct file *filp,
buf->pending = 0;
init_waitqueue_head( &buf->dma_wait );
buf->filp = 0;
-#if __HAVE_DMA_HISTOGRAM
- buf->time_queued = 0;
- buf->time_dispatched = 0;
- buf->time_completed = 0;
- buf->time_freed = 0;
-#endif
DRM_DEBUG( "buffer %d @ %p\n",
entry->buf_count, buf->address );
}
@@ -790,12 +778,6 @@ int DRM(addbufs_sg)( struct inode *inode, struct file *filp,
memset( buf->dev_private, 0, buf->dev_priv_size );
-# if __HAVE_DMA_HISTOGRAM
- buf->time_queued = 0;
- buf->time_dispatched = 0;
- buf->time_completed = 0;
- buf->time_freed = 0;
-# endif
DRM_DEBUG( "buffer %d @ %p\n",
entry->buf_count, buf->address );