From 1c4cdf6f76c00dd0c95c2ca7a5f944ec7340bd1e Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Wed, 12 Jul 2023 16:44:08 +0900 Subject: [PATCH] Remove define USE_CACHE Change-Id: I7147f727baaa8f3ab83df4fcdeeef94e5e117cf1 --- src/tbm_backend_dumb.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/tbm_backend_dumb.c b/src/tbm_backend_dumb.c index cbda548..0b71775 100644 --- a/src/tbm_backend_dumb.c +++ b/src/tbm_backend_dumb.c @@ -357,15 +357,6 @@ _dumb_bo_handle(tbm_dumb_bo *bo_data, int device) return bo_handle; } -#ifdef USE_CACHE -static int -_dumb_cache_flush(int fd, tbm_dumb_bo *bo_data, int flags) -{ - TBM_BACKEND_ERR("warning fail to flush the cache."); - return 1; -} -#endif - static hal_tbm_bufmgr_capability tbm_dumb_bufmgr_get_capabilities(hal_tbm_bufmgr *bufmgr, hal_tbm_error *error) { -- 2.7.4