From 9a1896dda4d73b04da3bb6a7d3275f4ab3f210f2 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sat, 17 Sep 2022 22:31:42 +0300 Subject: [PATCH] power_insn: drop field length method again --- src/openpower/decoder/power_fields.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/openpower/decoder/power_fields.py b/src/openpower/decoder/power_fields.py index e7d353b5..7530e456 100644 --- a/src/openpower/decoder/power_fields.py +++ b/src/openpower/decoder/power_fields.py @@ -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}" -- 2.30.2