drm: Branch 'master'
[email protected] (Eric Engestr??m) Thu, 15 Mar 2018 16:33:42 +0000 (UTC)
| Newsgroups | gmane.comp.video.dri.patches |
|---|---|
| Message-ID | <[email protected]> |
tests/exynos/exynos_fimg2d_perf.c | 7 ------- 1 file changed, 7 deletions(-) New commits: commit dff690ac3128300577d7cd7e4f086004c4114ab6 Author: Seung-Woo Kim <[email protected]> Date: Wed Mar 14 14:48:37 2018 +0900 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 <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> 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) 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"); ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --