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:
a58490d
)
tests/exynos: remove dead condition
author
Seung-Woo Kim
<sw0312.kim@samsung.com>
Wed, 14 Mar 2018 05:48:37 +0000
(14:48 +0900)
committer
Eric Engestrom
<eric.engestrom@imgtec.com>
Thu, 15 Mar 2018 16:30:14 +0000
(16:30 +0000)
There is already condition checking input values between 2 and 4096
so condition checking 0 is always false. Remove the dead condition.
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
tests/exynos/exynos_fimg2d_perf.c
patch
|
blob
|
history
diff --git
a/tests/exynos/exynos_fimg2d_perf.c
b/tests/exynos/exynos_fimg2d_perf.c
index
a2d5c19
..
97691a7
100644
(file)
--- a/
tests/exynos/exynos_fimg2d_perf.c
+++ b/
tests/exynos/exynos_fimg2d_perf.c
@@
-274,13
+274,6
@@
int main(int argc, char **argv)
goto out;
}
- if (bufw == 0 || bufh == 0) {
- fprintf(stderr, "error: buffer width/height should be non-zero.\n");
- ret = -1;
-
- goto out;
- }
-
fd = drmOpen("exynos", NULL);
if (fd < 0) {
fprintf(stderr, "error: failed to open drm\n");