From ee3d2d1c0da204705d1702e7164cc9e9e3d23c76 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Tue, 26 Sep 2023 06:13:59 +0800 Subject: [PATCH] video/goldfish: Remove the vsync residual code forget from patch: commit bbf5b0bb6d970da9fbe91f40c8640551a3ecd29c Author: jianglianfang Date: Tue Aug 15 19:47:14 2023 +0800 driver/video: adapting Goldfish FB to VSync optimized FB driver The circbuf part is implemented by the fb driver, and goldfish needs to delete the part related to circbuf and adapt to the interface of the fb driver. Signed-off-by: Xiang Xiao --- drivers/video/goldfish_fb.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/video/goldfish_fb.c b/drivers/video/goldfish_fb.c index 1f2b86f092..ce9d83749b 100644 --- a/drivers/video/goldfish_fb.c +++ b/drivers/video/goldfish_fb.c @@ -306,8 +306,6 @@ int up_fbinitialize(int display) err_irq_attach_failed: kmm_free(fb->planeinfo.fbmem); err_fbmem_alloc_failed: - circbuf_uninit(&fb->vsync); -err_circbuf_alloc_failed: kmm_free(fb); return ret; } @@ -332,7 +330,6 @@ void up_fbuninitialize(int display) FAR struct goldfish_fb_s *fb = g_goldfish_fb; irq_detach(fb->irq); - circbuf_uninit(&fb->vsync); kmm_free(fb->planeinfo.fbmem); kmm_free(fb); g_goldfish_fb = NULL;