summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-08-17 18:43:39 +0900
committerMichel Dänzer <michel@daenzer.net>2015-08-17 18:54:33 +0900
commit2a34176123b1dbf55d129248a431afb185e6a37c (patch)
tree40574b08d4adeb61a41dab79cead5a8c407958ec
parent25784d3af2f37d86fb25ee6cfa4afa6f3448af9b (diff)
tests/amdgpu: Remove unused local variable 'i'
Reviewed-by: Christian König <christian.koenig@amd.com>
-rw-r--r--tests/amdgpu/vce_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/amdgpu/vce_tests.c b/tests/amdgpu/vce_tests.c
index 0542654d4954..32fc001b63ee 100644
--- a/tests/amdgpu/vce_tests.c
+++ b/tests/amdgpu/vce_tests.c
@@ -400,7 +400,7 @@ static void check_result(struct amdgpu_vce_encode *enc)
static void amdgpu_cs_vce_encode(void)
{
uint32_t vbuf_size, bs_size = 0x154000, cpb_size;
- int i, r;
+ int r;
vbuf_size = enc.width * enc.height * 1.5;
cpb_size = vbuf_size * 10;