[libdrm,2/2] tests/amdgpu: Remove unused local variable 'i'
diff mbox

Message ID 1439804676-16365-2-git-send-email-michel@daenzer.net
State New
Headers show

Commit Message

Michel Dänzer Aug. 17, 2015, 9:44 a.m. UTC
From: Michel Dänzer <michel.daenzer@amd.com>

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
---
 tests/amdgpu/vce_tests.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox

diff --git a/tests/amdgpu/vce_tests.c b/tests/amdgpu/vce_tests.c
index 0542654..32fc001 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;