]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
binman: Remove redundant SetAllowFakeBlob from blob-ext entry
authorJonas Karlman <jonas@kwiboo.se>
Sun, 19 Feb 2023 22:02:03 +0000 (22:02 +0000)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Mar 2023 19:38:48 +0000 (11:38 -0800)
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@kwiboo.se>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/blob_ext.py

index fba6271de2bb355fd1cdbbed154bad3a3bc3d024..d6b0ca17c3f31ba1c00ebff0650676bd65362e9e 100644 (file)
@@ -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