summaryrefslogtreecommitdiff
path: root/tests/kms_setmode.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-11-30 19:37:37 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2016-12-01 09:29:40 +0000
commitdc3fcd99e96f6714b5bd4614d8aeb113816d7ba9 (patch)
treee025b8e0e018f183465518a01275cad89c7c29fd /tests/kms_setmode.c
parentd20b870eed83addf4735fd6deaaf9b3cfa0b457d (diff)
Silence a bunch of "const discard" warnings
A few warnings of the form: gem_mmap_gtt.c: In function ‘copy_wc_page’: gem_mmap_gtt.c:480:16: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default] __m128i *S = (const __m128i *)src; are no more. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/kms_setmode.c')
-rw-r--r--tests/kms_setmode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/kms_setmode.c b/tests/kms_setmode.c
index 4031d818..676e3d79 100644
--- a/tests/kms_setmode.c
+++ b/tests/kms_setmode.c
@@ -522,7 +522,6 @@ static void test_crtc_config(const struct test_config *tconf,
for (i = 0; i < crtc_count; i++) {
uint32_t *ids;
- int j;
crtc = &crtcs[i];