From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtAvY-0005q6-GJ for qemu-devel@nongnu.org; Fri, 15 May 2015 04:25:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YtAvV-0004a0-P0 for qemu-devel@nongnu.org; Fri, 15 May 2015 04:25:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtAvV-0004Z3-Bc for qemu-devel@nongnu.org; Fri, 15 May 2015 04:25:01 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t4F8P0qY006425 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 15 May 2015 04:25:00 -0400 Received: from blackfin.pond.sub.org (ovpn-116-59.ams2.redhat.com [10.36.116.59]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t4F8Owea024548 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 15 May 2015 04:25:00 -0400 From: Markus Armbruster Date: Fri, 15 May 2015 10:24:51 +0200 Message-Id: <1431678292-17692-26-git-send-email-armbru@redhat.com> In-Reply-To: <1431678292-17692-1-git-send-email-armbru@redhat.com> References: <1431678292-17692-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PULL 25/26] qapi: Drop pointless flush() before close() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- scripts/qapi.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/qapi.py b/scripts/qapi.py index fbfe050..f96a777 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() -- 1.9.3