From nobody Wed Aug 16 05:40:39 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RQcRq3rjGz4qFtT; Wed, 16 Aug 2023 05:40:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RQcRq3Qnzz3GNV; Wed, 16 Aug 2023 05:40:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692164439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HXCfgOuWwo8/FXg58DJIn82109dvcovalPD+xiuNdOw=; b=bBbx7WHPx08oF0I8iGoDgtnVDyjNHL+5FpHaPi0y7xuGLZuQXZ7iTWtaQfEx61UibxJ0bj FxVMC21ReEAHaCPFggi2paijzJQOMVFhZ07ZSDEFz6ZbHRR4NHBS0AlCYbs+sqvLL568t3 XotUXK3UAjuifHPm1JkjjyCsaqcXoCVotgReYSJpQJF+mwhNrfy7xKvmamYZ2Be1JA1TI4 /vt5aHEwNO3Z+KSJtgsOGecHZ6Sggg8WeHsIwUYd1yAFnOpE22Y2+V4Q441yiGrVX54Vu5 0NyCZPeehk5ESJ32y9nIWoOMEx3/tZl3KkiuL0FgyactlHsv2dHawS6SS/Z8EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692164439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HXCfgOuWwo8/FXg58DJIn82109dvcovalPD+xiuNdOw=; b=K/5JkiX5lYWmy18febGm2NM1mYORFZHWkSNjpiqMLkq7r8UGIqvTwqY25mHUxOmvUXsBZn e6VSW+u4jLh25X9dVQhnAfXp7468VDWeIHmyODzunsS3eNfZejZ6oKCKackMhvx5462yfP vPhb7UkoCc1hq3n86w/4TQbgzwoWyVf5nOjrdpMaTO+I1Ns+i7sZAdGT/cch6zRBsE1SnB UeTR736khk4BZOj8co3SVPcLvTFEzFi0zk1zROMaGp4+t4SGJjpEaq3YsF5fezfctHS4K6 1oJgqpxsRMbBm5XgzJlBSGiYsjX1An2ndqdMvVY0leH7hFOz5Ej7lfKHgplpmg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692164439; a=rsa-sha256; cv=none; b=hw9ELkNu2nioKL7lkGL6YVOyQEvoSGHz0J64W/wMGCj32ak2HqhKAMqxjy9yne0Po14hxS IAzITG7UFD7aAHmOw1a9OmHr9J5k/SBVCzpLw07V8whJavYv6L3q8GmFC7xXY0plwZ+Nzm Rqy/1gKOGVtbdx+sJ9lJpSe+Ai5GgojK0EpC3I8Vdj2R32Y1RNNymbCHjQHWdCRUGS+ALF QtmvDiTEmmXLfyKyzmaYmnLM2Qi6Dx0PEJoAEj3C3yyymI/bgfihe8ylx6WPEiOjV89rVZ NAyDkiK8rzXy4Rp+d3ExSQMAPGpDmRp0Ppd1bx46jBd+1GBU6HuPCbwZ53T6HA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RQcRq2VPbzg3V; Wed, 16 Aug 2023 05:40:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37G5edlQ033770; Wed, 16 Aug 2023 05:40:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37G5ed0h033767; Wed, 16 Aug 2023 05:40:39 GMT (envelope-from git) Date: Wed, 16 Aug 2023 05:40:39 GMT Message-Id: <202308160540.37G5ed0h033767@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 94b73d30ef2b - main - usbdevs2h: Ignore First Line and stop generating $FreeBSD$ List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 94b73d30ef2b0d85d4834a1e4dc29e0457a8faef Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=94b73d30ef2b0d85d4834a1e4dc29e0457a8faef commit 94b73d30ef2b0d85d4834a1e4dc29e0457a8faef Author: Warner Losh AuthorDate: 2023-08-16 05:32:04 +0000 Commit: Warner Losh CommitDate: 2023-08-16 05:34:18 +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 --- 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)