[PATCH i-g-t 2/2] drv_hangman: Remove unused function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx>
---
 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,
-- 
1.8.3.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux