From 9adb805ca9afed8407d19333b92b905f083e986a Mon Sep 17 00:00:00 2001 From: Neo Xu Date: Wed, 10 Jan 2024 11:04:24 +0800 Subject: [PATCH] chore: remove unused code (#5250) Signed-off-by: Neo Xu --- src/draw/lv_draw_image.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/draw/lv_draw_image.c b/src/draw/lv_draw_image.c index 62b0fc3ed..f7cfc9792 100644 --- a/src/draw/lv_draw_image.c +++ b/src/draw/lv_draw_image.c @@ -54,14 +54,6 @@ void lv_draw_image_dsc_init(lv_draw_image_dsc_t * dsc) dsc->base.dsc_size = sizeof(lv_draw_image_dsc_t); } -void layer_transform(lv_layer_t * layer, lv_area_t * a_out) -{ - if(layer->parent) { - layer_transform(layer->parent, a_out); - } - -} - void lv_draw_layer(lv_layer_t * layer, const lv_draw_image_dsc_t * dsc, const lv_area_t * coords) { lv_draw_task_t * t = lv_draw_add_task(layer, coords);