diff mbox

[05/20] drm: drop unused "struct drm_waitlist"

Message ID 1409307166-12396-6-git-send-email-dh.herrmann@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

David Herrmann Aug. 29, 2014, 10:12 a.m. UTC
This structure is unused, drop it.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
---
 include/drm/drmP.h | 11 -----------
 1 file changed, 11 deletions(-)

Comments

Thierry Reding Aug. 29, 2014, 11:40 a.m. UTC | #1
On Fri, Aug 29, 2014 at 12:12:31PM +0200, David Herrmann wrote:
> This structure is unused, drop it.
> 
> Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
> ---
>  include/drm/drmP.h | 11 -----------
>  1 file changed, 11 deletions(-)

Reviewed-by: Thierry Reding <treding@nvidia.com>
diff mbox

Patch

diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 0fdd813..0bf66f9 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -320,17 +320,6 @@  struct drm_buf {
 	void *dev_private;		 /**< Per-buffer private storage */
 };
 
-/** bufs is one longer than it has to be */
-struct drm_waitlist {
-	int count;			/**< Number of possible buffers */
-	struct drm_buf **bufs;		/**< List of pointers to buffers */
-	struct drm_buf **rp;			/**< Read pointer */
-	struct drm_buf **wp;			/**< Write pointer */
-	struct drm_buf **end;		/**< End pointer */
-	spinlock_t read_lock;
-	spinlock_t write_lock;
-};
-
 typedef struct drm_dma_handle {
 	dma_addr_t busaddr;
 	void *vaddr;