evas vg: remove redundant function code.
authorHermet Park <hermetpark@gmail.com>
Mon, 17 Dec 2018 10:59:29 +0000 (19:59 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 18 Dec 2018 07:13:58 +0000 (16:13 +0900)
src/lib/evas/canvas/evas_vg_private.h

index 064051a..904afec 100644 (file)
@@ -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;                                             \