[Intel-gfx] [PATCH i-g-t 3/7] kms_rotation_crc: Remove unused variable in negative test

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Wed Apr 22 08:46:44 PDT 2015


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Cc: Sonika Jindal <sonika.jindal at intel.com>
---
 tests/kms_rotation_crc.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index ab13f70..a523527 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -238,7 +238,6 @@ static void test_unsupported_tiling_pixel_format(data_t *data, enum igt_plane pl
 	igt_display_t *display = &data->display;
 	igt_output_t *output;
 	enum pipe pipe;
-	int valid_tests = 0;
 	int fb_tiling_id, fb_565_id;
 	struct igt_fb fb_565, fb_tiling;
 
@@ -286,8 +285,6 @@ static void test_unsupported_tiling_pixel_format(data_t *data, enum igt_plane pl
 			kmstest_set_vt_graphics_mode();
 			prepare_crtc(data, output, pipe, plane);
 
-			valid_tests++;
-
 			igt_remove_fb(data->gfx_fd, &fb_tiling);
 			igt_remove_fb(data->gfx_fd, &fb_565);
 			cleanup_crtc(data, output, plane);
-- 
2.3.5



More information about the Intel-gfx mailing list