aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/qapi/schema.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/qapi/schema.py b/scripts/qapi/schema.py
index 4594c69..cd86611 100644
--- a/scripts/qapi/schema.py
+++ b/scripts/qapi/schema.py
@@ -757,12 +757,6 @@ class QAPISchemaObjectTypeMember(QAPISchemaMember):
def need_has(self):
assert self.type
- # Temporary hack to support dropping the has_FOO in reviewable chunks
- opt_out = []
- if self.info and any(self.info.fname.endswith(mod)
- for mod in opt_out):
- return self.optional
- # End of temporary hack
return self.optional and self.type.need_has_if_optional()
def check(self, schema):