diff options
author | Seung-Woo Kim | 2018-03-14 00:48:37 -0500 |
---|---|---|
committer | Eric Engestrom | 2018-03-15 11:30:14 -0500 |
commit | dff690ac3128300577d7cd7e4f086004c4114ab6 (patch) | |
tree | c51e62db572c66dde6b6ee0936bbf8aecbfb14af | |
parent | a58490de0d8ae5c290d2db6e59fc44edc829d9c6 (diff) | |
download | external-libdrm-dff690ac3128300577d7cd7e4f086004c4114ab6.tar.gz external-libdrm-dff690ac3128300577d7cd7e4f086004c4114ab6.tar.xz external-libdrm-dff690ac3128300577d7cd7e4f086004c4114ab6.zip |
tests/exynos: remove dead condition
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>
-rw-r--r-- | tests/exynos/exynos_fimg2d_perf.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/exynos/exynos_fimg2d_perf.c b/tests/exynos/exynos_fimg2d_perf.c index a2d5c192..97691a71 100644 --- a/tests/exynos/exynos_fimg2d_perf.c +++ b/tests/exynos/exynos_fimg2d_perf.c | |||
@@ -274,13 +274,6 @@ int main(int argc, char **argv) | |||
274 | goto out; | 274 | goto out; |
275 | } | 275 | } |
276 | 276 | ||
277 | if (bufw == 0 || bufh == 0) { | ||
278 | fprintf(stderr, "error: buffer width/height should be non-zero.\n"); | ||
279 | ret = -1; | ||
280 | |||
281 | goto out; | ||
282 | } | ||
283 | |||
284 | fd = drmOpen("exynos", NULL); | 277 | fd = drmOpen("exynos", NULL); |
285 | if (fd < 0) { | 278 | if (fd < 0) { |
286 | fprintf(stderr, "error: failed to open drm\n"); | 279 | fprintf(stderr, "error: failed to open drm\n"); |