qemu-e2k/scripts/qapi
Markus Armbruster dcca907bed qapi: Drop check_type()'s redundant parameter @allow_optional
check_type() uses @allow_optional only when @value is a dictionary and
@allow_dict is True.  All callers that pass allow_dict=True also pass
allow_optional=True.

Therefore, @allow_optional is always True when check_type() uses it.
Drop the redundant parameter.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190913201349.24332-3-armbru@redhat.com>
2019-09-24 14:07:22 +02:00
..
__init__.py
commands.py Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
common.py qapi: Drop check_type()'s redundant parameter @allow_optional 2019-09-24 14:07:22 +02:00
doc.py qapi: Allow documentation for features 2019-06-12 18:35:57 +02:00
events.py Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
introspect.py qapi: Add feature flags to struct types 2019-06-12 18:34:26 +02:00
types.py qapi: Add feature flags to struct types 2019-06-12 18:34:26 +02:00
visit.py qapi: Add feature flags to struct types 2019-06-12 18:34:26 +02:00