diff options
author | Markus Armbruster | 2015-04-02 14:49:29 +0200 |
---|---|---|
committer | Markus Armbruster | 2015-05-14 18:41:32 +0200 |
commit | 09896d3f48078a93e3d2dbd8ef86436b85ebda7c (patch) | |
tree | 97058f6e04503341e7392d2957f672ff1f80ccee /scripts | |
parent | qapi: Factor open_output(), close_output() out of generators (diff) | |
download | qemu-09896d3f48078a93e3d2dbd8ef86436b85ebda7c.tar.gz qemu-09896d3f48078a93e3d2dbd8ef86436b85ebda7c.tar.xz qemu-09896d3f48078a93e3d2dbd8ef86436b85ebda7c.zip |
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.py | 4 |
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() |