tbm_module: add tbm_module_bo_map and use it
[platform/core/uifw/libtbm.git] / src / tbm_surface_internal.c
index e2a2dc3..5089c60 100644 (file)
@@ -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();