projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25784d3
)
tests/amdgpu: Remove unused local variable 'i'
author
Michel Dänzer
<michel.daenzer@amd.com>
Mon, 17 Aug 2015 09:43:39 +0000
(18:43 +0900)
committer
Michel Dänzer
<michel@daenzer.net>
Mon, 17 Aug 2015 09:54:33 +0000
(18:54 +0900)
Reviewed-by: Christian König <christian.koenig@amd.com>
tests/amdgpu/vce_tests.c
patch
|
blob
|
history
diff --git
a/tests/amdgpu/vce_tests.c
b/tests/amdgpu/vce_tests.c
index
0542654
..
32fc001
100644
(file)
--- 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;