From: Hermet Park Date: Mon, 17 Dec 2018 10:59:29 +0000 (+0900) Subject: evas vg: remove redundant function code. X-Git-Tag: submit/tizen/20181218.080725~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8db0d6898cbf30441c13c0e601101f17b292e12;p=platform%2Fupstream%2Fefl.git evas vg: remove redundant function code. --- diff --git a/src/lib/evas/canvas/evas_vg_private.h b/src/lib/evas/canvas/evas_vg_private.h index 064051a..904afec 100644 --- a/src/lib/evas/canvas/evas_vg_private.h +++ b/src/lib/evas/canvas/evas_vg_private.h @@ -150,24 +150,6 @@ _efl_canvas_vg_node_changed(Eo *obj) if (obj) efl_event_callback_call(obj, EFL_GFX_PATH_EVENT_CHANGED, &ev); } -static inline void * -_efl_vg_realloc(void *from, unsigned int sz) -{ - void *result; - - result = sz > 0 ? realloc(from, sz) : NULL; - if (!result) free(from); - - return result; -} - -static inline void -_efl_vg_clean_object(Eo **obj) -{ - if (*obj) efl_unref(*obj); - *obj = NULL; -} - #define EFL_CANVAS_VG_COMPUTE_MATRIX(Current, Parent, Nd) \ Eina_Matrix3 *Current = Nd->m; \ Eina_Matrix3 _matrix_tmp; \