# HG changeset patch # User diego # Date 1261328960 0 # Node ID 70b37e4475b633c25f42e55e5233fecfbb141ceb # Parent dea60722b5a33dee746a40820623810220cec7d4 Remove pointless return statements from functions that return nothing. diff -r dea60722b5a3 -r 70b37e4475b6 vidix/pci_db2c.awk --- a/vidix/pci_db2c.awk Sun Dec 20 17:01:47 2009 +0000 +++ b/vidix/pci_db2c.awk Sun Dec 20 17:09:20 2009 +0000 @@ -139,7 +139,6 @@ { print "#include " > out_file; print "#include \"pci_names.h\"" > out_file; - return; } function print_head(out_file) @@ -147,7 +146,6 @@ printf("/* File: %s\n", out_file) > out_file; printf(" * This file was generated automatically. Don't modify it. */\n") > out_file; print "" > out_file - return; } function print_name_struct(out_file) @@ -164,7 +162,6 @@ print "};" > out_file print "const char *pci_vendor_name(unsigned short id);" > out_file print "const char *pci_device_name(unsigned short vendor_id, unsigned short device_id);" > out_file - return } function print_func_bodies(out_file) @@ -200,7 +197,6 @@ } print " return NULL;" > out_file print "}" > out_file - return } function kill_double_quoting(fld)