From patchwork Tue Dec 9 17:11:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lespiau, Damien" X-Patchwork-Id: 5464211 Return-Path: X-Original-To: patchwork-intel-gfx@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 9D248BEEA8 for ; Tue, 9 Dec 2014 17:23:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E754D20131 for ; Tue, 9 Dec 2014 17:23:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 284DC20114 for ; Tue, 9 Dec 2014 17:23:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 62B9E6F8BF; Tue, 9 Dec 2014 09:23:43 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id CD44B6F307 for ; Tue, 9 Dec 2014 09:23:41 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP; 09 Dec 2014 09:11:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,691,1406617200"; d="scan'208";a="496134490" Received: from pthierry-mobl1.ger.corp.intel.com (HELO strange.ger.corp.intel.com) ([10.252.31.115]) by orsmga003.jf.intel.com with ESMTP; 09 Dec 2014 09:08:12 -0800 From: Damien Lespiau To: intel-gfx@lists.freedesktop.org Date: Tue, 9 Dec 2014 17:11:52 +0000 Message-Id: <1418145112-24687-2-git-send-email-damien.lespiau@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1418145112-24687-1-git-send-email-damien.lespiau@intel.com> References: <1418145112-24687-1-git-send-email-damien.lespiau@intel.com> Subject: [Intel-gfx] [PATCH i-g-t 2/2] drv_hangman: Remove unused function X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, 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 Signed-off-by: Damien Lespiau --- tests/drv_hangman.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/drv_hangman.c b/tests/drv_hangman.c index ec28c9d..15918ba 100644 --- a/tests/drv_hangman.c +++ b/tests/drv_hangman.c @@ -150,19 +150,6 @@ static void assert_error_state_collected(void) assert_dfs_entry_not("i915_error_state", "no error state collected"); } -static int get_line_count(const char *s) -{ - int count = 0; - - while (*s) { - if (*s == '\n') - count++; - s++; - } - - return count; -} - #define MAGIC_NUMBER 0x10001 const uint32_t batch[] = { MI_NOOP, MI_BATCH_BUFFER_END,