aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2023-08-16 05:33:18 +0000
committerWarner Losh <imp@FreeBSD.org>2023-08-16 05:34:19 +0000
commit021c4fa6b04ced4bed9a4937086c62ebbe571f63 (patch)
tree5b28e3f8487477eb836b916ba91c5e5572c8ab5c
parent94b73d30ef2b0d85d4834a1e4dc29e0457a8faef (diff)
downloadsrc-021c4fa6b04ced4bed9a4937086c62ebbe571f63.tar.gz
src-021c4fa6b04ced4bed9a4937086c62ebbe571f63.zip
miidevs2h: Ignore the first line
The first line hasn't contained version information in years. Ignore it entirely. Sponsored by: Netflix
-rw-r--r--sys/tools/miidevs2h.awk7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/tools/miidevs2h.awk b/sys/tools/miidevs2h.awk
index 54b9c28fe508..fba5049460d2 100644
--- a/sys/tools/miidevs2h.awk
+++ b/sys/tools/miidevs2h.awk
@@ -93,16 +93,9 @@ BEGIN {
hfile="miidevs.h"
}
NR == 1 {
- VERSION = $0
- gsub("\\$", "", VERSION)
-
- printf("/* \$FreeBSD\$ */\n\n") > hfile
printf("/*\n") > hfile
printf(" * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.\n") \
> hfile
- printf(" *\n") > hfile
- printf(" * generated from:\n") > hfile
- printf(" *\t%s\n", VERSION) > hfile
printf(" */\n") > hfile
next