summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2016-11-22 16:52:25 +0000
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2016-11-22 16:53:24 +0000
commit1634c14c58b5e5fa3c3b4cef64e9f9196ea74f31 (patch)
treeb61f604f9dc20af52510f3ba71e5cd9096df6a20 /tests
parentc459a3d798bea7af30e8c0c9bcd2e4285730ce47 (diff)
tests: kms_pipe_color: remove unused variable
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/kms_pipe_color.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/kms_pipe_color.c b/tests/kms_pipe_color.c
index f120e263..98dc4038 100644
--- a/tests/kms_pipe_color.c
+++ b/tests/kms_pipe_color.c
@@ -654,8 +654,6 @@ static void test_pipe_legacy_gamma_reset(data_t *data,
static bool crc_equal(igt_crc_t *a, igt_crc_t *b)
{
- int i;
-
return memcmp(a->crc, b->crc, sizeof(a->crc[0]) * a->n_words) == 0;
}