aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_info.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-07-23 11:26:36 -0400
committerDave Airlie <airlied@redhat.com>2014-08-01 16:43:10 -0400
commitb008c0fc95140ca7aad65861a77f0338ce31e8b5 (patch)
tree1ef052d0abf90f1cd6815aa11c91acb875409403 /drivers/gpu/drm/drm_info.c
parent8bed5cc765ffdd61b59f8405d38b377f5a7f0920 (diff)
drm: remove unused "struct drm_freelist"
This object is not used except for static fields in drm_bufs *cough*. Inline the watermark fields and drop the unused structure definition. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_info.c')
-rw-r--r--drivers/gpu/drm/drm_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_info.c b/drivers/gpu/drm/drm_info.c
index 86feedd5e6f6..ecaf0fa2eec8 100644
--- a/drivers/gpu/drm/drm_info.c
+++ b/drivers/gpu/drm/drm_info.c
@@ -132,7 +132,7 @@ int drm_bufs_info(struct seq_file *m, void *data)
132 i, 132 i,
133 dma->bufs[i].buf_size, 133 dma->bufs[i].buf_size,
134 dma->bufs[i].buf_count, 134 dma->bufs[i].buf_count,
135 atomic_read(&dma->bufs[i].freelist.count), 135 0,
136 dma->bufs[i].seg_count, 136 dma->bufs[i].seg_count,
137 seg_pages, 137 seg_pages,
138 seg_pages * PAGE_SIZE / 1024); 138 seg_pages * PAGE_SIZE / 1024);