diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-07-23 19:26:36 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-08-02 00:43:10 +0400 |
commit | b008c0fc95140ca7aad65861a77f0338ce31e8b5 (patch) | |
tree | 1ef052d0abf90f1cd6815aa11c91acb875409403 /drivers/gpu/drm/drm_info.c | |
parent | 8bed5cc765ffdd61b59f8405d38b377f5a7f0920 (diff) | |
download | linux-b008c0fc95140ca7aad65861a77f0338ce31e8b5.tar.xz |
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.c | 2 |
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) i, dma->bufs[i].buf_size, dma->bufs[i].buf_count, - atomic_read(&dma->bufs[i].freelist.count), + 0, dma->bufs[i].seg_count, seg_pages, seg_pages * PAGE_SIZE / 1024); |