From: Daniel Vetter Subject: Re: [PATCH 02/12] drm: drop unused "struct drm_queue" Date: Wed, 23 Jul 2014 21:35:58 +0200 Message-ID: <20140723193558.GD15237@phenom.ffwll.local> References: <1406129207-1302-1-git-send-email-dh.herrmann@gmail.com> <1406129207-1302-3-git-send-email-dh.herrmann@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by gabe.freedesktop.org (Postfix) with ESMTP id BB3426E69B for ; Wed, 23 Jul 2014 12:35:49 -0700 (PDT) Received: by mail-wi0-f174.google.com with SMTP id d1so8392635wiv.13 for ; Wed, 23 Jul 2014 12:35:49 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1406129207-1302-3-git-send-email-dh.herrmann@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: David Herrmann Cc: Daniel Vetter , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Wed, Jul 23, 2014 at 05:26:37PM +0200, David Herrmann wrote: > This object is unused, drop it. > > Signed-off-by: David Herrmann Funny how after even all my "kill stuff with fire" series there's still such low hanging fruit left ;-) Reviewed-by: Daniel Vetter > --- > include/drm/drmP.h | 17 ----------------- > 1 file changed, 17 deletions(-) > > diff --git a/include/drm/drmP.h b/include/drm/drmP.h > index 335b7b8..d3d9be6 100644 > --- a/include/drm/drmP.h > +++ b/include/drm/drmP.h > @@ -430,23 +430,6 @@ struct drm_file { > struct drm_prime_file_private prime; > }; > > -/** Wait queue */ > -struct drm_queue { > - atomic_t use_count; /**< Outstanding uses (+1) */ > - atomic_t finalization; /**< Finalization in progress */ > - atomic_t block_count; /**< Count of processes waiting */ > - atomic_t block_read; /**< Queue blocked for reads */ > - wait_queue_head_t read_queue; /**< Processes waiting on block_read */ > - atomic_t block_write; /**< Queue blocked for writes */ > - wait_queue_head_t write_queue; /**< Processes waiting on block_write */ > - atomic_t total_queued; /**< Total queued statistic */ > - atomic_t total_flushed; /**< Total flushes statistic */ > - atomic_t total_locks; /**< Total locks statistics */ > - enum drm_ctx_flags flags; /**< Context preserving and 2D-only */ > - struct drm_waitlist waitlist; /**< Pending buffers */ > - wait_queue_head_t flush_queue; /**< Processes waiting until flush */ > -}; > - > /** > * Lock data. > */ > -- > 2.0.2 > -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch