diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2015-04-22 16:46:44 +0100 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2015-04-27 15:26:00 +0100 |
commit | 148c0d22816f170284edc4232fc58bff58bd1e28 (patch) | |
tree | e75ebc70d857845e8874f16f2da3153381864e2e /tests/kms_rotation_crc.c | |
parent | d9011062404a37929bcfb7f1dbfbd9d901215e6f (diff) |
kms_rotation_crc: Remove unused variable in negative test
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Sonika Jindal <sonika.jindal@intel.com>
Reviewed-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/kms_rotation_crc.c')
-rw-r--r-- | tests/kms_rotation_crc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index ab13f700..a523527c 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); |