From 021c4fa6b04ced4bed9a4937086c62ebbe571f63 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 15 Aug 2023 23:33:18 -0600 Subject: [PATCH] miidevs2h: Ignore the first line The first line hasn't contained version information in years. Ignore it entirely. Sponsored by: Netflix --- sys/tools/miidevs2h.awk | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sys/tools/miidevs2h.awk b/sys/tools/miidevs2h.awk index 54b9c28fe50..fba5049460d 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