[PATCH 1/9] binman: Remove redundant SetAllowFakeBlob from blob-ext entry

Jonas Karlman jonas at kwiboo.se
Sun Feb 19 23:02:03 CET 2023


Entry_blob_ext contains an implementation of SetAllowFakeBlob that is
identical to the one in the base Entry class, remove it.

Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
---
 tools/binman/etype/blob_ext.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/tools/binman/etype/blob_ext.py b/tools/binman/etype/blob_ext.py
index fba6271de2bb..d6b0ca17c3f3 100644
--- a/tools/binman/etype/blob_ext.py
+++ b/tools/binman/etype/blob_ext.py
@@ -26,11 +26,3 @@ class Entry_blob_ext(Entry_blob):
     def __init__(self, section, etype, node):
         Entry_blob.__init__(self, section, etype, node)
         self.external = True
-
-    def SetAllowFakeBlob(self, allow_fake):
-        """Set whether the entry allows to create a fake blob
-
-        Args:
-            allow_fake_blob: True if allowed, False if not allowed
-        """
-        self.allow_fake = allow_fake
-- 
2.39.2



More information about the U-Boot mailing list