# HG changeset patch # User diego # Date 1261338978 0 # Node ID e2d509072a629e5a18ee55dd972e0ce9e49ec675 # Parent dde551eed5728bc3c9a1030f1b713ba65ae0f41d Remove unused debugging output about total number of printed lines. diff -r dde551eed572 -r e2d509072a62 vidix/pci_db2c.awk --- 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