From: Damien Lespiau Subject: [PATCH 3/8] lib: Remove old dead code intel_batchbuffer_emit_mi_flush() Date: Thu, 18 Jul 2013 16:19:08 +0100 Message-ID: <1374160753-21781-4-git-send-email-damien.lespiau@intel.com> References: <1374160753-21781-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 95D2BE68D0 for ; Thu, 18 Jul 2013 08:19:31 -0700 (PDT) In-Reply-To: <1374160753-21781-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Signed-off-by: Damien Lespiau --- lib/intel_batchbuffer.c | 7 ------- lib/intel_batchbuffer.h | 3 --- 2 files changed, 10 deletions(-) diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c index 724e23d..c6c8153 100644 --- a/lib/intel_batchbuffer.c +++ b/lib/intel_batchbuffer.c @@ -232,10 +232,3 @@ intel_copy_bo(struct intel_batchbuffer *batch, intel_batchbuffer_flush(batch); } - -void -intel_batchbuffer_emit_mi_flush(struct intel_batchbuffer *batch) -{ - intel_batchbuffer_require_space(batch, 4); - intel_batchbuffer_emit_dword(batch, MI_FLUSH); -} diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h index 9f45ac6..67617ce 100644 --- a/lib/intel_batchbuffer.h +++ b/lib/intel_batchbuffer.h @@ -96,9 +96,6 @@ intel_batchbuffer_require_space(struct intel_batchbuffer *batch, #define ADVANCE_BATCH() do { \ } while(0) -void -intel_batchbuffer_emit_mi_flush(struct intel_batchbuffer *batch); - void intel_copy_bo(struct intel_batchbuffer *batch, drm_intel_bo *dst_bo, drm_intel_bo *src_bo, int width, int height); -- 1.8.3.1