[bitbake-devel,1/2] bitbake: cache: remove unused variables.

Submitted by Maxime Roussin-Bélanger on Oct. 27, 2020, 4:36 a.m. | Patch ID: 177488

Details

Message ID 20201027043640.12167-1-maxime.roussinbelanger@gmail.com
State New
Headers show

Commit Message

Maxime Roussin-Bélanger Oct. 27, 2020, 4:36 a.m.
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>

---
 bitbake/lib/bb/cache.py | 2 --
 1 file changed, 2 deletions(-)

-- 
2.28.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11775): https://lists.openembedded.org/g/bitbake-devel/message/11775
Mute This Topic: https://lists.openembedded.org/mt/77832895/1003190
Group Owner: bitbake-devel+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/bitbake-devel/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 9e0c931a07..ebb2422496 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -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)