Message ID | 1471418433-20061-2-git-send-email-famz@redhat.com |
---|---|
State | New |
Headers | show |
On 17.08.2016 09:20, Fam Zheng wrote: > Signed-off-by: Fam Zheng <famz@redhat.com> > --- > 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) found_something is now unused. Do you want to remove it? Max > - > def print_top(fheader): > fheader.write('''/* AUTOMATICALLY GENERATED, DO NOT MODIFY */ > /* >
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 */ /*
Signed-off-by: Fam Zheng <famz@redhat.com> --- scripts/modules/module_block.py | 5 ----- 1 file changed, 5 deletions(-)