From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZZHQ-00043p-Bp for qemu-devel@nongnu.org; Tue, 16 Aug 2016 03:59:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZZHN-0001yz-9Q for qemu-devel@nongnu.org; Tue, 16 Aug 2016 03:59:24 -0400 From: Fam Zheng Date: Tue, 16 Aug 2016 15:59:06 +0800 Message-Id: <1471334348-28747-2-git-send-email-famz@redhat.com> In-Reply-To: <1471334348-28747-1-git-send-email-famz@redhat.com> References: <1471334348-28747-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH for-2.8 v2 1/3] scripts: Allow block module to not define BlockDriver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi , Kevin Wolf , qemu-block@nongnu.org, Max Reitz Signed-off-by: Fam Zheng --- scripts/modules/module_block.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/modules/module_block.py b/scripts/modules/module_block.py index db4fb54..7efec00 100644 --- a/scripts/modules/module_block.py +++ b/scripts/modules/module_block.py @@ -56,11 +56,6 @@ def process_file(fheader, filename): format_name = "" protocol_name = "" - if not found_something: - print("No BlockDriver struct found in " + filename + ". \ - Is this really a module?", file=sys.stderr) - sys.exit(1) - def print_top(fheader): fheader.write('''/* AUTOMATICALLY GENERATED, DO NOT MODIFY */ /* -- 2.7.4