mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 08:10:11 +01:00
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>
This commit is contained in:
parent
a58490de0d
commit
dff690ac31
1 changed files with 0 additions and 7 deletions
|
|
@ -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");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue