summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-12-09 17:10:42 +0000
committerDamien Lespiau <damien.lespiau@intel.com>2014-12-09 17:10:42 +0000
commit01153e7d5f0b8d4edb0306c2a27030d2757235f4 (patch)
tree989dad93e9e238c6232cfd11ca3c670d85b08e13 /tests
parentd49ef76e98d5966c31f6b960dcc1530103b42ae9 (diff)
drv_hangman: Remove unused function
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/drv_hangman.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/drv_hangman.c b/tests/drv_hangman.c
index ec28c9d8..15918ba6 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,