From 056762a9104997569b09416c35d9a0bfef175e1f Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 22 Apr 2003 10:18:29 +0000 Subject: remove unused dma histogram code --- linux/drm_lists.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'linux/drm_lists.h') diff --git a/linux/drm_lists.h b/linux/drm_lists.h index 4a64df71..09b6289b 100644 --- a/linux/drm_lists.h +++ b/linux/drm_lists.h @@ -77,9 +77,6 @@ int DRM(waitlist_put)(drm_waitlist_t *bl, drm_buf_t *buf) buf->idx, buf->filp); return -EINVAL; } -#if __HAVE_DMA_HISTOGRAM - buf->time_queued = get_cycles(); -#endif buf->list = DRM_LIST_WAIT; spin_lock_irqsave(&bl->write_lock, flags); @@ -146,10 +143,6 @@ int DRM(freelist_put)(drm_device_t *dev, drm_freelist_t *bl, drm_buf_t *buf) buf->idx, buf->waiting, buf->pending, buf->list); } if (!bl) return 1; -#if __HAVE_DMA_HISTOGRAM - buf->time_freed = get_cycles(); - DRM(histogram_compute)(dev, buf); -#endif buf->list = DRM_LIST_FREE; spin_lock(&bl->lock); -- cgit v1.2.3