Remove define USE_CACHE 68/295668/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 12 Jul 2023 07:44:08 +0000 (16:44 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Wed, 12 Jul 2023 07:44:14 +0000 (16:44 +0900)
Change-Id: I7147f727baaa8f3ab83df4fcdeeef94e5e117cf1

src/tbm_backend_dumb.c

index cbda548..0b71775 100644 (file)
@@ -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)
 {