diff options
Diffstat (limited to 'lib/libdrm/tests/exynos/exynos_fimg2d_perf.c')
-rw-r--r-- | lib/libdrm/tests/exynos/exynos_fimg2d_perf.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libdrm/tests/exynos/exynos_fimg2d_perf.c b/lib/libdrm/tests/exynos/exynos_fimg2d_perf.c index a2d5c1929..97691a71a 100644 --- a/lib/libdrm/tests/exynos/exynos_fimg2d_perf.c +++ b/lib/libdrm/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"); |