bitbake: cache: remove unused variables.
PATCH 1/2 bitbake: cache: remove unused variables.
Signed-off-by Maxime Roussin-Bélanger <[email protected]>
--- bitbake/lib/bb/cache.py | 2 -- 1 file changed, 2 deletions(-)
bitbake/lib/bb/cache.py +0 -2
@@ -449,9 +449,7 @@ class Cache(NoCache): return cachesize def load_cachefile(self, progress): - cachesize = self.cachesize() previous_progress = 0 - previous_percent = 0 for cache_class in self.caches_array: cachefile = self.getCacheFile(cache_class.cachefile)
Signature · 1 line
2.28.0
PATCH 2/2 bitbake: monitordisk: remove unused function parameter
Signed-off-by Maxime Roussin-Bélanger <[email protected]>
--- bitbake/lib/bb/monitordisk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
bitbake/lib/bb/monitordisk.py +2 -2
@@ -59,7 +59,7 @@ def getMountedDev(path): pass return None -def getDiskData(BBDirs, configuration): +def getDiskData(BBDirs): """Prepare disk data for disk space monitor"""
@@ -168,7 +168,7 @@ class diskMonitor: BBDirs = configuration.getVar("BB_DISKMON_DIRS") or None if BBDirs: - self.devDict = getDiskData(BBDirs, configuration) + self.devDict = getDiskData(BBDirs) if self.devDict: self.spaceInterval, self.inodeInterval = getInterval(configuration) if self.spaceInterval and self.inodeInterval:
Signature · 1 line
2.28.0