diff options
author | Hoegeun Kwon <hoegeun.kwon@samsung.com> | 2018-10-10 13:52:59 +0900 |
---|---|---|
committer | Hoegeun Kwon <hoegeun.kwon@samsung.com> | 2018-10-10 13:52:59 +0900 |
commit | 2a8baf99a41200bf448527bc6c1880cd04efd712 (patch) | |
tree | 1ab19a099761b3777cf4f31a75610735684a033f | |
parent | cbe3fa6a61d740310aef7c666138bd7ec7ce99f7 (diff) | |
download | libdrm-accepted/tizen_5.0_unified.tar.gz libdrm-accepted/tizen_5.0_unified.tar.bz2 libdrm-accepted/tizen_5.0_unified.zip |
ipptest: Fix wunused-label build warningsubmit/tizen_5.0/20181101.000007submit/tizen/20181102.014132submit/tizen/20181011.023710accepted/tizen/unified/20181011.095040accepted/tizen/5.0/unified/20181102.030626tizen_5.0old/tizen_20190318accepted/tizen_5.0_unified
fimc-ipp_v2.c:254:1: warning: label 'err_ipp_dst_buff_close' defined but not used [-Wunused-label]
err_ipp_dst_buff_close:
Change-Id: I6c5ca0f9a393cc68da948973ee2ec1430af853ce
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
-rw-r--r-- | tests/ipptest/fimc-ipp_v2.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/ipptest/fimc-ipp_v2.c b/tests/ipptest/fimc-ipp_v2.c index 0ecdd089..b77069d2 100644 --- a/tests/ipptest/fimc-ipp_v2.c +++ b/tests/ipptest/fimc-ipp_v2.c @@ -162,7 +162,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count, task.transform.rotation = DRM_MODE_ROTATE_270; else { fprintf(stderr, "invalid rotation value\n"); - goto err_ipp_close; + goto err_ipp_dst_buff_close; } /* prepare ioctl data */ @@ -185,7 +185,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count, ret = ioctl(dev->fd, DRM_IOCTL_EXYNOS_IPP_COMMIT, &arg); if (ret) { fprintf(stderr, "failed to process image\n"); - goto err_ipp_close; + goto err_ipp_dst_buff_close; } gettimeofday(&end, NULL); @@ -206,7 +206,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count, fprintf(stderr, "failed to add fb (%ux%u):%d\n", dev->mode.width, dev->mode.height, errno); - goto err_ipp_close; + goto err_ipp_dst_buff_close; } for (j = 0; j < 2; j++) { @@ -214,7 +214,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count, ret = ioctl(dev->fd, DRM_IOCTL_EXYNOS_IPP_COMMIT, &arg); if (ret) { fprintf(stderr, "failed to process image\n"); - goto err_ipp_close; + goto err_ipp_dst_buff_close; } gettimeofday(&end, NULL); usec[j] = (end.tv_sec - begin.tv_sec) * 1000000 + @@ -227,7 +227,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count, pipe.num_cons, pipe.mode); if (ret) { fprintf(stderr, "failed to set crtc: %d\n", errno); - goto err_ipp_close; + goto err_ipp_dst_buff_close; } /* reset rotation for the next frame */ task.transform.rotation = DRM_MODE_ROTATE_0; @@ -241,7 +241,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count, if (ret) { fprintf(stderr, "failed to page flip: %d\n", errno); - goto err_ipp_close; + goto err_ipp_dst_buff_close; } } } @@ -250,7 +250,6 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count, break; } -err_ipp_close: err_ipp_dst_buff_close: util_kms_gem_destroy_mmap(&bo_dst); err_ipp_src_buff_close: |