power_insn: drop field length method again
authorDmitry Selyutin <ghostmansd@gmail.com>
Sat, 17 Sep 2022 19:31:42 +0000 (22:31 +0300)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 17 Sep 2022 19:49:30 +0000 (20:49 +0100)
src/openpower/decoder/power_fields.py

index e7d353b51a61122452da795131420a68d7d7685e..7530e456f7ce2d97ca9fdae705d3ce263c046b4c 100644 (file)
@@ -165,9 +165,6 @@ class FieldMeta(type):
 
 
 class Field(Reference, metaclass=FieldMeta):
-    def __len__(self):
-        return self.__class__.__len__()
-
     def __repr__(self):
         return f"[{len(self.__class__)}]0x{int(self):x}"