changeset 30050:e2d509072a62

Remove unused debugging output about total number of printed lines.
author diego
date Sun, 20 Dec 2009 19:56:18 +0000
parents dde551eed572
children 605c84da5b2c
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 19:36:30 2009 +0000
+++ b/vidix/pci_db2c.awk	Sun Dec 20 19:56:18 2009 +0000
@@ -36,7 +36,6 @@
     ids_h_file     = "vidix/pci_ids.h"
     names_c_file   = "vidix/pci_names.c"
     vendors_h_file = "vidix/pci_vendors.h";
-    line = 0;
     # print out head lines
     print_head(vendors_h_file);
     print_head(ids_h_file);
@@ -60,8 +59,6 @@
     first_pass = 1;
     init_name_db();
     while (getline < in_file) {
-        # count up lines
-        line++;
         n = split($0, field, "[\t]");
         name_field = kill_double_quoting(field[3])
         if (field[1] == "v" && length(field[3]) > 0 && field[4] == "0") {
@@ -101,7 +98,6 @@
             printf("0x%s /*%s*/\n", substr(field[2], 9), name_field) > ids_h_file
         }
     }
-    #print "Total lines parsed:", line;
     print_guards_end(vendors_h_file);
     print_guards_end(ids_h_file);
     if (with_pci_db) print "};" > names_c_file