summaryrefslogtreecommitdiffstats
path: root/vidix
diff options
context:
space:
mode:
Diffstat (limited to 'vidix')
-rwxr-xr-xvidix/pci_db2c.awk4
1 files changed, 0 insertions, 4 deletions
diff --git a/vidix/pci_db2c.awk b/vidix/pci_db2c.awk
index 76eae6a658..1d577202b3 100755
--- a/vidix/pci_db2c.awk
+++ b/vidix/pci_db2c.awk
@@ -36,7 +36,6 @@ BEGIN {
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 @@ BEGIN {
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 @@ BEGIN {
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