[Intel-gfx] [PATCH i-g-t] kms_cursor_crc: Remove two unused local variables

Damien Lespiau damien.lespiau at intel.com
Fri Sep 26 17:50:44 CEST 2014


Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 tests/kms_cursor_crc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 718699d..c348d7a 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -79,7 +79,6 @@ static void draw_cursor(cairo_t *cr, int x, int y, int cw, int ch)
 
 static void cursor_enable(data_t *data)
 {
-	igt_display_t *display = &data->display;
 	igt_output_t *output = data->output;
 	igt_plane_t *cursor;
 
@@ -90,7 +89,6 @@ static void cursor_enable(data_t *data)
 
 static void cursor_disable(data_t *data)
 {
-	igt_display_t *display = &data->display;
 	igt_output_t *output = data->output;
 	igt_plane_t *cursor;
 
-- 
1.8.3.1




More information about the Intel-gfx mailing list