git: 5197a1c13266 - stable/13 - miidevs2h: Ignore the first line

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 23 Aug 2023 17:49:16 UTC
The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=5197a1c13266334c937dc643f33bdc8899ebd9fb

commit 5197a1c13266334c937dc643f33bdc8899ebd9fb
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-08-16 05:33:18 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-08-23 17:43:18 +0000

    miidevs2h: Ignore the first line
    
    The first line hasn't contained version information in years. Ignore it
    entirely.
    
    Sponsored by:           Netflix
    
    (cherry picked from commit 021c4fa6b04ced4bed9a4937086c62ebbe571f63)
---
 sys/tools/miidevs2h.awk | 7 -------
 1 file changed, 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