From a1de0f035b54b1cc45a8aabb44e40383d58377cb Mon Sep 17 00:00:00 2001 From: Murai Takashi Date: Thu, 18 Aug 2016 19:58:06 +0900 Subject: [PATCH] pci-header.awk: remove unused variable. Signed-off-by: Adrien Destugues Fixes #12919 --- src/apps/devices/pci-header.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/devices/pci-header.awk b/src/apps/devices/pci-header.awk index f046ef1459..e28c16a78d 100644 --- a/src/apps/devices/pci-header.awk +++ b/src/apps/devices/pci-header.awk @@ -130,7 +130,7 @@ END { if ( devicecount > 0 ) { - print "typedef struct _PCI_DEVTABLE\n{\n\tunsigned short VenId ;\n\tunsigned short DevId ;\n\tunsigned short\tSubVenId ;\n\tunsigned short\tSubDevId ;\n\tconst char *\tChipDesc ;\n\tconst char *\tChip;\n} PCI_DEVTABLE, *PPCI_DEVTABLE ;\n" > ofile + print "typedef struct _PCI_DEVTABLE\n{\n\tunsigned short VenId ;\n\tunsigned short DevId ;\n\tunsigned short\tSubVenId ;\n\tunsigned short\tSubDevId ;\n\tconst char *\tChipDesc ;\n} PCI_DEVTABLE, *PPCI_DEVTABLE ;\n" > ofile print "PCI_DEVTABLE\tPciDevTable [] =\n{" > ofile for (i = 1; i <= devicecount; i++) {