diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-03-15 13:57:28 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-03-16 07:13:04 +0100 |
commit | 062e856b155a8b7724b8eba449fc3aa8a181d46b (patch) | |
tree | 96d13a94824af0a3c9cc78e4d6b2a6038dd049a6 /scripts | |
parent | a9f396b028bc304fd1c27b2d52b22966cfc98a61 (diff) | |
download | qemu-062e856b155a8b7724b8eba449fc3aa8a181d46b.zip qemu-062e856b155a8b7724b8eba449fc3aa8a181d46b.tar.gz qemu-062e856b155a8b7724b8eba449fc3aa8a181d46b.tar.bz2 |
qapi: Drop unused variable events
Missed in commit e98859a
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1489582656-31133-40-git-send-email-armbru@redhat.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/qapi.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/qapi.py b/scripts/qapi.py index 1aaae8e..d5a113c 100644 --- a/scripts/qapi.py +++ b/scripts/qapi.py @@ -49,7 +49,6 @@ name_case_whitelist = [] enum_types = [] struct_types = [] union_types = [] -events = [] all_names = {} # @@ -756,14 +755,12 @@ def check_command(expr, info): def check_event(expr, info): - global events name = expr['event'] boxed = expr.get('boxed', False) meta = ['struct'] if boxed: meta += ['union', 'alternate'] - events.append(name) check_type(info, "'data' for event '%s'" % name, expr.get('data'), allow_dict=not boxed, allow_optional=True, allow_metas=meta) |