aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-04-02 14:49:29 +0200
committerMarkus Armbruster <armbru@redhat.com>2015-05-14 18:41:32 +0200
commit09896d3f48078a93e3d2dbd8ef86436b85ebda7c (patch)
tree97058f6e04503341e7392d2957f672ff1f80ccee /scripts
parent12f8e1b9ff57e99dafbb13f89cd5a99ad5c28527 (diff)
qapi: Drop pointless flush() before close()
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/qapi.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/qapi.py b/scripts/qapi.py
index fbfe0508a0..f96a7772e5 100644
--- a/scripts/qapi.py
+++ b/scripts/qapi.py
@@ -1064,9 +1064,5 @@ def close_output(fdef, fdecl):
fdecl.write('''
#endif
''')
-
- fdecl.flush()
fdecl.close()
-
- fdef.flush()
fdef.close()