qapi: Drop pointless flush() before close()

Backports commit 09896d3f48078a93e3d2dbd8ef86436b85ebda7c from qemu
This commit is contained in:
Markus Armbruster 2018-02-19 15:32:57 -05:00 committed by Lioncash
parent 2c9ed3c379
commit faffdb784a
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -1063,10 +1063,6 @@ def close_output(fdef, fdecl):
fdecl.write('''
#endif
''')
fdecl.flush()
fdecl.close()
fdef.flush()
fdef.close()