diff options
author | Warner Losh <imp@FreeBSD.org> | 2023-08-16 05:32:04 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2023-08-23 17:43:17 +0000 |
commit | 1ddda65e6fd720b0366c0e9da64d2eff3279b8ee (patch) | |
tree | 966a1f563b2e436c1fcb217a1d6f19e03b207a8b | |
parent | c32a5d6e6e32c14b2989fd8b4a5961c5a5756879 (diff) | |
download | src-1ddda65e6fd720b0366c0e9da64d2eff3279b8ee.tar.gz src-1ddda65e6fd720b0366c0e9da64d2eff3279b8ee.zip |
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)
-rw-r--r-- | sys/tools/usbdevs2h.awk | 5 |
1 files changed, 0 insertions, 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) |