summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangyeon Lee <cyeon.lee@samsung.com>2023-07-12 16:44:08 +0900
committerChangyeon Lee <cyeon.lee@samsung.com>2023-07-12 16:44:14 +0900
commit1c4cdf6f76c00dd0c95c2ca7a5f944ec7340bd1e (patch)
treed6a10357fb7473b640f9c09fc4c557f5d483bd38
parentd0ea52ab381bd3bf286f197752d0088850694db3 (diff)
downloadlibtbm-dumb-1c4cdf6f76c00dd0c95c2ca7a5f944ec7340bd1e.tar.gz
libtbm-dumb-1c4cdf6f76c00dd0c95c2ca7a5f944ec7340bd1e.tar.bz2
libtbm-dumb-1c4cdf6f76c00dd0c95c2ca7a5f944ec7340bd1e.zip
Remove define USE_CACHE
Change-Id: I7147f727baaa8f3ab83df4fcdeeef94e5e117cf1
-rw-r--r--src/tbm_backend_dumb.c9
1 files changed, 0 insertions, 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)
{