]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Workspace/DecBuildData.py
BaseTools: remove unused setter functions
[mirror_edk2.git] / BaseTools / Source / Python / Workspace / DecBuildData.py
index 7eeca9524529b5b6dec743db945fe9a8c043ffb0..45beaebc63efe66737f4124a3ce85d80342b4d1d 100644 (file)
@@ -116,21 +116,6 @@ class DecBuildData(PackageBuildClassObject):
     def _GetArch(self):\r
         return self._Arch\r
 \r
-    ## Set architecture\r
-    #\r
-    #   Changing the default ARCH to another may affect all other information\r
-    # because all information in a platform may be ARCH-related. That's\r
-    # why we need to clear all internal used members, in order to cause all\r
-    # information to be re-retrieved.\r
-    #\r
-    #   @param  Value   The value of ARCH\r
-    #\r
-    def _SetArch(self, Value):\r
-        if self._Arch == Value:\r
-            return\r
-        self._Arch = Value\r
-        self._Clear()\r
-\r
     ## Retrieve all information in [Defines] section\r
     #\r
     #   (Retriving all [Defines] information in one-shot is just to save time.)\r
@@ -469,7 +454,7 @@ class DecBuildData(PackageBuildClassObject):
 \r
 \r
     _Macros = property(_GetMacros)\r
-    Arch = property(_GetArch, _SetArch)\r
+    Arch = property(_GetArch)\r
     PackageName = property(_GetPackageName)\r
     Guid = property(_GetFileGuid)\r
     Version = property(_GetVersion)\r