changeset 30042:70b37e4475b6

Remove pointless return statements from functions that return nothing.
author diego
date Sun, 20 Dec 2009 17:09:20 +0000
parents dea60722b5a3
children 6e9c29e16658
files vidix/pci_db2c.awk
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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 <stdlib.h>" > 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)