diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-16 12:16:17 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-20 08:31:28 +0000 |
commit | 82b5cdad0f8f5a511545b613410895e1a93840a1 (patch) | |
tree | face3fdcabc19d581b6f9e1151283185d687e04c | |
parent | 9206614d79a91d92b1130dd028ea0cf3a4bee79f (diff) | |
download | poky-82b5cdad0f8f5a511545b613410895e1a93840a1.tar.gz |
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 <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/cache.py | 12 |
1 files changed, 0 insertions, 12 deletions
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): | |||
649 | self.cacheclean = False | 649 | self.cacheclean = False |
650 | self.depends_cache[filename] = info_array | 650 | self.depends_cache[filename] = info_array |
651 | 651 | ||
652 | def add(self, file_name, data, cacheData, parsed=None): | ||
653 | """ | ||
654 | Save data we need into the cache | ||
655 | """ | ||
656 | |||
657 | realfn = virtualfn2realfn(file_name)[0] | ||
658 | |||
659 | info_array = [] | ||
660 | for cache_class in self.caches_array: | ||
661 | info_array.append(cache_class(realfn, data)) | ||
662 | self.add_info(file_name, info_array, cacheData, parsed) | ||
663 | |||
664 | class MulticonfigCache(Mapping): | 652 | class MulticonfigCache(Mapping): |
665 | def __init__(self, databuilder, data_hash, caches_array): | 653 | def __init__(self, databuilder, data_hash, caches_array): |
666 | def progress(p): | 654 | def progress(p): |