From: SooChan Lim Date: Thu, 17 Jun 2021 01:34:36 +0000 (+0900) Subject: tbm_surface_internal: donot set error type X-Git-Tag: submit/tizen/20210617.053259~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=739ae7e25a669c2e02367585827f8f2677c1e357;p=platform%2Fcore%2Fuifw%2Flibtbm.git tbm_surface_internal: donot set error type the error type should be set by hal backend. Change-Id: I4a7c47d8a091c01c124d09072462ae18a317ea8b --- diff --git a/src/tbm_surface_internal.c b/src/tbm_surface_internal.c index e2a2dc3..5089c60 100644 --- a/src/tbm_surface_internal.c +++ b/src/tbm_surface_internal.c @@ -2966,9 +2966,6 @@ tbm_surface_internal_export(tbm_surface_h surface, tbm_error_e *error) TBM_TRACE_SURFACE_INTERNAL("tbm_surface(%p) buffer_data(%p)", surface, buffer_data); - if (error) - *error = TBM_ERROR_NONE; - _tbm_set_last_result(TBM_ERROR_NONE); _tbm_surface_mutex_unlock();