From b252972ab468cbe3a9d7ff33366561c40d0391ec Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 20 Dec 2009 17:09:20 +0000 Subject: Remove pointless return statements from functions that return nothing. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30084 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/pci_db2c.awk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vidix/pci_db2c.awk b/vidix/pci_db2c.awk index 0ca5f32cfd..5c1ad8d27a 100755 --- a/vidix/pci_db2c.awk +++ b/vidix/pci_db2c.awk @@ -139,7 +139,6 @@ function print_includes(out_file) { print "#include " > out_file; print "#include \"pci_names.h\"" > out_file; - return; } function print_head(out_file) @@ -147,7 +146,6 @@ function print_head(out_file) 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 @@ function print_name_struct(out_file) 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 @@ function print_func_bodies(out_file) } print " return NULL;" > out_file print "}" > out_file - return } function kill_double_quoting(fld) -- cgit v1.2.3