diff options
-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"); |