git: 1ddda65e6fd7 - stable/13 - usbdevs2h: Ignore First Line and stop generating $FreeBSD$

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

URL: https://cgit.FreeBSD.org/src/commit/?id=1ddda65e6fd720b0366c0e9da64d2eff3279b8ee

commit 1ddda65e6fd720b0366c0e9da64d2eff3279b8ee
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-08-16 05:32:04 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-08-23 17:43:17 +0000

    usbdevs2h: Ignore First Line and stop generating $FreeBSD$
    
    Just ignore the first line of the usbdevs file. And stop recording what
    the usbdevs* files were generated from. It's said '$FreeBSD$' for years
    now...
    
    Sponsored by:           Netflix
    
    (cherry picked from commit 94b73d30ef2b0d85d4834a1e4dc29e0457a8faef)
---
 sys/tools/usbdevs2h.awk | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/sys/tools/usbdevs2h.awk b/sys/tools/usbdevs2h.awk
index 42e57cf190a8..25c29c798b3e 100644
--- a/sys/tools/usbdevs2h.awk
+++ b/sys/tools/usbdevs2h.awk
@@ -45,9 +45,6 @@ function header(file)
 	printf("/*\n") > file
 	printf(" * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.\n") \
 	    > file
-	printf(" *\n") > file
-	printf(" * generated from:\n") > file
-	printf(" *\t%s\n", VERSION) > file
 	printf(" */\n") > file
 }
 
@@ -234,8 +231,6 @@ line=0;
 while ((getline < srcfile) > 0) {
 	line++;
 	if (line == 1) {
-		VERSION = $0
-		gsub("\\$", "", VERSION)
 		if (dfile)
 			header(dfile)
 		if (hfile)