Commit dff690ac authored by SW Kim's avatar SW Kim Committed by Eric Engestrom
Browse files

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: SW Kim's avatarSeung-Woo Kim <sw0312.kim@samsung.com>
Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@imgtec.com>
parent a58490de
...@@ -274,13 +274,6 @@ int main(int argc, char **argv) ...@@ -274,13 +274,6 @@ int main(int argc, char **argv)
goto out; 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); fd = drmOpen("exynos", NULL);
if (fd < 0) { if (fd < 0) {
fprintf(stderr, "error: failed to open drm\n"); fprintf(stderr, "error: failed to open drm\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment