From 82b5cdad0f8f5a511545b613410895e1a93840a1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 16 Nov 2022 12:16:17 +0000 Subject: bitbake: cache: Drop unused function At this point users appear to all call add_info directly. Failing to do that means the file dependency tracking code isn't active so would cause problems. Therefore drop the unused function. (Bitbake rev: 6b24efc0f4d19738d96754280e70bc493005167d) Signed-off-by: Richard Purdie --- bitbake/lib/bb/cache.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'bitbake/lib/bb/cache.py') diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 22ca6f56e6..22ed3e80be 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py @@ -649,18 +649,6 @@ class Cache(object): self.cacheclean = False self.depends_cache[filename] = info_array - def add(self, file_name, data, cacheData, parsed=None): - """ - Save data we need into the cache - """ - - realfn = virtualfn2realfn(file_name)[0] - - info_array = [] - for cache_class in self.caches_array: - info_array.append(cache_class(realfn, data)) - self.add_info(file_name, info_array, cacheData, parsed) - class MulticonfigCache(Mapping): def __init__(self, databuilder, data_hash, caches_array): def progress(p): -- cgit v1.2.3-54-g00ecf