From patchwork Fri Aug 29 10:12:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Herrmann X-Patchwork-Id: 4809841 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DDB51C0338 for ; Fri, 29 Aug 2014 10:13:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2663120125 for ; Fri, 29 Aug 2014 10:13:31 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 6428C20123 for ; Fri, 29 Aug 2014 10:13:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 888456E69B; Fri, 29 Aug 2014 03:13:29 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-we0-f175.google.com (mail-we0-f175.google.com [74.125.82.175]) by gabe.freedesktop.org (Postfix) with ESMTP id 7F38D6E2AF for ; Fri, 29 Aug 2014 03:13:27 -0700 (PDT) Received: by mail-we0-f175.google.com with SMTP id k48so1947331wev.34 for ; Fri, 29 Aug 2014 03:13:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SgwThJ8TB9TJ/1kUEcwHyT1lPlqRGcn0SxaIYUZaxyM=; b=smbn5FsNBUsKBHXkIucOnfp6L9EPOqwa1jEGMB88YGNeJ1wLd8Vwkq3jc4/9WC46YP eIE5JAVs7Clc4ifm2vae6J8/Qy0BSj+BPWJWFTlVJ6Au1tskf9lv/4qACTy/s/H/lcX3 aAPFPAJLmups89HaetuenSaoYVFN2VBDrKcBFmcGYTaOUyqQ590NVh3WSq3yhm3GBinT t810AtJ1KwXaBdlUuvUL69DGuBQWXIosu45SRrbGddwoeqjndfcUTWIIpTiJCMl2NL9g TCdzZK+fRAQ0Z1FtdDD6j7DYMBPwyWzDyXO/vf039GbBZULJ/fDRPjUN5R95a1PDVflj SwLQ== X-Received: by 10.180.184.20 with SMTP id eq20mr2681614wic.37.1409307206731; Fri, 29 Aug 2014 03:13:26 -0700 (PDT) Received: from david-tp.localdomain (stgt-4d02e0c1.pool.mediaWays.net. [77.2.224.193]) by mx.google.com with ESMTPSA id la2sm17479347wjb.5.2014.08.29.03.13.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Aug 2014 03:13:25 -0700 (PDT) From: David Herrmann To: dri-devel@lists.freedesktop.org Subject: [PATCH 05/20] drm: drop unused "struct drm_waitlist" Date: Fri, 29 Aug 2014 12:12:31 +0200 Message-Id: <1409307166-12396-6-git-send-email-dh.herrmann@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1409307166-12396-1-git-send-email-dh.herrmann@gmail.com> References: <1409307166-12396-1-git-send-email-dh.herrmann@gmail.com> Cc: Daniel Vetter X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This structure is unused, drop it. Signed-off-by: David Herrmann Reviewed-by: Thierry Reding --- include/drm/drmP.h | 11 ----------- 1 file changed, 11 deletions(-) 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;