summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/exynos/exynos_fimg2d_test.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c
index de6a2b78..1ec7340d 100644
--- a/tests/exynos/exynos_fimg2d_test.c
+++ b/tests/exynos/exynos_fimg2d_test.c
@@ -150,14 +150,9 @@ static int drm_set_crtc(struct exynos_device *dev, struct connector *c,
ret = drmModeSetCrtc(dev->fd, c->crtc,
fb_id, 0, 0, &c->id, 1, c->mode);
- if (ret) {
+ if (ret)
drmMsg("failed to set mode: %s\n", strerror(errno));
- goto err;
- }
-
- return 0;
-err:
return ret;
}