mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-25 00:52:45 -04:00
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>
This commit is contained in:
committed by
Dave Airlie
parent
8bed5cc765
commit
b008c0fc95
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user